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

34 lines
842 B
YAML
Raw Normal View History

2022-08-06 21:17:06 +00:00
pipeline:
2022-08-06 23:17:02 +00:00
build:
2022-08-07 01:12:44 +00:00
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
pull: true
2022-08-06 23:17:02 +00:00
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:
2022-08-07 01:12:44 +00:00
image: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
2022-08-07 01:07:42 +00:00
pull: true
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