diff --git a/.woodpecker/tools-wasm-pack-plugin.yml b/.woodpecker/tools-wasm-pack-plugin.yml index faf078c..0ceed2f 100644 --- a/.woodpecker/tools-wasm-pack-plugin.yml +++ b/.woodpecker/tools-wasm-pack-plugin.yml @@ -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: diff --git a/.woodpecker/wasm-o-x-rust.yml b/.woodpecker/wasm-o-x-rust.yml index 3fefd85..f47a0fc 100644 --- a/.woodpecker/wasm-o-x-rust.yml +++ b/.woodpecker/wasm-o-x-rust.yml @@ -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 \ No newline at end of file + - .woodpecker/wasm-o-x-rust.yml +depends_on: + - tools-wasm-pack-plugin \ No newline at end of file