update CI
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
ci/woodpecker/push/deploy-cloudflare Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2024-02-28 10:05:34 +01:00
parent e86e128f40
commit 0a989240c7
Signed by: adoralaura
GPG key ID: 7A4552166FC8C056

View file

@ -11,13 +11,13 @@ steps:
- wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_$${HUGO_VERSION}_linux-amd64.deb - wget https://github.com/gohugoio/hugo/releases/download/v$${HUGO_VERSION}/hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && apt install ./hugo_extended_$${HUGO_VERSION}_linux-amd64.deb && rm -f hugo_extended_$${HUGO_VERSION}_linux-amd64.deb
- hugo --minify --destination ./public - hugo --minify --destination ./public
deploy-production: deploy-cloudflare-production:
image: node:alpine image: node:alpine
# image: lauralani/netlify-cli:latest # image: lauralani/netlify-cli:latest
pull: true pull: true
when: when:
- event: push - event: push
branch: staging branch: main
secrets: secrets:
- CLOUDFLARE_ACCOUNT_ID - CLOUDFLARE_ACCOUNT_ID
- CLOUDFLARE_API_TOKEN - CLOUDFLARE_API_TOKEN