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