2022-08-06 21:17:06 +00:00
|
|
|
pipeline:
|
2022-08-06 23:17:02 +00:00
|
|
|
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
|
2022-08-06 21:17:06 +00:00
|
|
|
build and publish:
|
|
|
|
image: git.koval.net/cyclane/game-algorithms/wasm-pack
|
2022-08-06 18:48:45 +00:00
|
|
|
settings:
|
2022-08-06 21:17:06 +00:00
|
|
|
actions: build,publish
|
|
|
|
folder: wasm/o-x-rust
|
|
|
|
scope: game-algorithms
|
2022-08-06 18:48:45 +00:00
|
|
|
username: cyclane
|
|
|
|
token:
|
|
|
|
from_secret: DEPLOY_TOKEN
|
|
|
|
registry: https://git.koval.net/api/packages/cyclane/npm/
|
|
|
|
when:
|
2022-08-06 23:17:02 +00:00
|
|
|
branch: main
|
2022-08-06 18:48:45 +00:00
|
|
|
path:
|
|
|
|
include:
|
|
|
|
- wasm/o-x-rust/*
|
2022-08-06 21:17:06 +00:00
|
|
|
- .woodpecker/wasm-o-x-rust.yml
|
|
|
|
depends_on:
|
|
|
|
- tools-wasm-pack-plugin
|