ci updates and fixes
ci/woodpecker/push/tools-wasm-pack-plugin Pipeline was successful Details
ci/woodpecker/push/wasm-o-x-rust Pipeline was successful Details

This commit is contained in:
Gleb Koval 2022-08-06 21:17:06 +00:00
parent 820dc16321
commit 6625d3907a
Signed by: cyclane
GPG Key ID: 15E168A8B332382C
2 changed files with 13 additions and 12 deletions

View File

@ -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:

View File

@ -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
depends_on:
- tools-wasm-pack-plugin