forked from Minecraft/website
Update '.woodpecker.yml'
parent
9e79ef83cb
commit
95cd195032
|
@ -13,12 +13,9 @@ pipeline:
|
||||||
netlify:
|
netlify:
|
||||||
image: node:14
|
image: node:14
|
||||||
secrets:
|
secrets:
|
||||||
- source: bot_token
|
- bot_token
|
||||||
target: bot_token
|
- netlify_site_id
|
||||||
- source: netlify_site_id
|
- netlify_auth_token
|
||||||
target: netlify_site_id
|
|
||||||
- source: netlify_auth_token
|
|
||||||
target: netlify_auth_token
|
|
||||||
commands:
|
commands:
|
||||||
- node netlify.js
|
- node netlify.js
|
||||||
when:
|
when:
|
||||||
|
@ -28,17 +25,18 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
files:
|
settings:
|
||||||
- "dist/*"
|
files:
|
||||||
output: dist.tar.gz
|
- "dist/*"
|
||||||
|
output: dist.tar.gz
|
||||||
release:
|
release:
|
||||||
image: jolheiser/drone-gitea-main:latest
|
image: jolheiser/drone-gitea-main:latest
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
secrets:
|
settings:
|
||||||
- source: gitea_token
|
token:
|
||||||
target: plugin_gitea_token
|
from_secret: gitea_token
|
||||||
base: https://git.jojodev.com
|
base: https://git.jojodev.com
|
||||||
files:
|
files:
|
||||||
- "dist.tar.gz"
|
- "dist.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue