summaryrefslogtreecommitdiff
path: root/.woodpecker.yml
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker.yml')
-rw-r--r--.woodpecker.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.woodpecker.yml b/.woodpecker.yml
index 4142b42..4bfa3f0 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -18,6 +18,17 @@ pipeline:
commands:
- npm run docs
+ publish-npm:
+ image: node:lts
+ secrets: [ npmtoken ]
+ commands:
+ - npm config set -- '//registry.npmjs.org/:_authToken' "${NPMTOKEN}"
+ - npm publish
+ when:
+ # Push new version when version tag is created
+ event: tag
+ tag: v*
+
publish-pages:
image: rust:latest
secrets: [ cbtoken ]