Fixed CI
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline failed Details
ci/woodpecker/push/wasm-o-x-rust unknown status Details

This commit is contained in:
Gleb Koval 2022-08-06 23:17:02 +00:00
parent 922c28046f
commit 8b85177ce6
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 17 additions and 2 deletions

View File

@ -3,11 +3,12 @@ pipeline:
image: plugins/docker image: plugins/docker
settings: settings:
dry_run: true dry_run: true
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
context: tools/wasm-pack-plugin context: tools/wasm-pack-plugin
dockerfile: tools/wasm-pack-plugin/Dockerfile dockerfile: tools/wasm-pack-plugin/Dockerfile
when: when:
branch: branch:
exclude: [master] exclude: [main]
path: path:
include: include:
- tools/wasm-pack-plugin/* - tools/wasm-pack-plugin/*
@ -24,7 +25,7 @@ pipeline:
context: tools/wasm-pack-plugin context: tools/wasm-pack-plugin
dockerfile: tools/wasm-pack-plugin/Dockerfile dockerfile: tools/wasm-pack-plugin/Dockerfile
when: when:
branch: master branch: main
path: path:
include: include:
- tools/wasm-pack-plugin/* - tools/wasm-pack-plugin/*

View File

@ -1,4 +1,17 @@
pipeline: pipeline:
build:
image: git.koval.net/cyclane/game-algorithms/wasm-pack
settings:
actions: build
folder: wasm/o-x-rust
scope: game-algorithms
when:
branch:
exclude: [main]
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml
build and publish: build and publish:
image: git.koval.net/cyclane/game-algorithms/wasm-pack image: git.koval.net/cyclane/game-algorithms/wasm-pack
settings: settings:
@ -10,6 +23,7 @@ pipeline:
from_secret: DEPLOY_TOKEN from_secret: DEPLOY_TOKEN
registry: https://git.koval.net/api/packages/cyclane/npm/ registry: https://git.koval.net/api/packages/cyclane/npm/
when: when:
branch: main
path: path:
include: include:
- wasm/o-x-rust/* - wasm/o-x-rust/*