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