update CI
This commit is contained in:
parent
e86e128f40
commit
0a989240c7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue