ci updates and fixes
This commit is contained in:
parent
820dc16321
commit
6625d3907a
|
@ -16,6 +16,7 @@ pipeline:
|
|||
from_secret: DEPLOY_TOKEN
|
||||
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
||||
tags: latest
|
||||
force_tag: true
|
||||
context: tools/wasm-pack-plugin
|
||||
dockerfile: tools/wasm-pack-plugin/Dockerfile
|
||||
when:
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: git.koval.net/cyclane/game-algorithms/wasm-pack
|
||||
commands:
|
||||
- cd wasm/o-x-rust
|
||||
- wasm-pack build
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
when:
|
||||
path:
|
||||
include:
|
||||
- wasm/o-x-rust/*
|
||||
- .woodpecker/wasm-o-x-rust.yml
|
||||
publish:
|
||||
image: plugins/npm
|
||||
pipeline:
|
||||
build and publish:
|
||||
image: git.koval.net/cyclane/game-algorithms/wasm-pack
|
||||
settings:
|
||||
actions: build,publish
|
||||
folder: wasm/o-x-rust
|
||||
scope: game-algorithms
|
||||
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
|
||||
- .woodpecker/wasm-o-x-rust.yml
|
||||
depends_on:
|
||||
- tools-wasm-pack-plugin
|
Loading…
Reference in New Issue