Fixed CI
This commit is contained in:
parent
922c28046f
commit
8b85177ce6
|
@ -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/*
|
||||||
|
|
|
@ -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/*
|
||||||
|
|
Loading…
Reference in New Issue