game-algorithms/.woodpecker/wasm-o-x-rust.yml

26 lines
623 B
YAML

pipeline:
build:
image: git.koval.net/cyclane/game-algorithms/wasm-pack
commands:
- cd wasm/o-x-rust
- wasm-pack build
when:
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml
publish:
image: plugins/npm
settings:
username: cyclane
password:
from_secret: DEPLOY_TOKEN
token:
from_secret: DEPLOY_TOKEN
registry: https://git.koval.net/api/packages/cyclane/npm/
folder: wasm/o-x-rust/pkg
when:
path:
include:
- wasm/o-x-rust/*
- .woodpecker/wasm-o-x-rust.yml