test new netlify-cli container
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
This commit is contained in:
parent
ffe43db394
commit
064988d539
1 changed files with 8 additions and 4 deletions
|
@ -11,7 +11,9 @@ steps:
|
||||||
- hugo --minify --destination ./public
|
- hugo --minify --destination ./public
|
||||||
|
|
||||||
deploy-staging:
|
deploy-staging:
|
||||||
image: node:alpine
|
# image: node:alpine
|
||||||
|
image: code.lila.network/lauralani/netlify-cli:latest
|
||||||
|
pull: true
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: staging
|
branch: staging
|
||||||
|
@ -19,12 +21,14 @@ steps:
|
||||||
- NETLIFY_AUTH_TOKEN
|
- NETLIFY_AUTH_TOKEN
|
||||||
- NETLIFY_SITE_ID
|
- NETLIFY_SITE_ID
|
||||||
commands:
|
commands:
|
||||||
- npm install netlify-cli -g
|
# - npm install netlify-cli -g
|
||||||
- netlify deploy --alias stage --dir ./public
|
- netlify deploy --alias stage --dir ./public
|
||||||
|
|
||||||
|
|
||||||
deploy-production:
|
deploy-production:
|
||||||
image: node:alpine
|
# image: node:alpine
|
||||||
|
image: code.lila.network/lauralani/netlify-cli:latest
|
||||||
|
pull: true
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
@ -32,5 +36,5 @@ steps:
|
||||||
- NETLIFY_AUTH_TOKEN
|
- NETLIFY_AUTH_TOKEN
|
||||||
- NETLIFY_SITE_ID
|
- NETLIFY_SITE_ID
|
||||||
commands:
|
commands:
|
||||||
- npm install netlify-cli -g
|
# - npm install netlify-cli -g
|
||||||
- netlify deploy --prod --dir ./public
|
- netlify deploy --prod --dir ./public
|
||||||
|
|
Loading…
Reference in a new issue