fix woodpecker warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
b78a15209f
commit
e8d5277c6a
1 changed files with 3 additions and 8 deletions
|
@ -1,16 +1,11 @@
|
||||||
steps:
|
steps:
|
||||||
build:
|
|
||||||
image: alpine:edge
|
|
||||||
commands:
|
|
||||||
- apk add --no-cache zola
|
|
||||||
- zola build
|
|
||||||
- rm public/robots.txt public/sitemap.xml
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
name: Zip files
|
name: Zip files
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache zip curl
|
- apk add --no-cache curl zip zola
|
||||||
|
- zola build
|
||||||
|
- rm public/robots.txt public/sitemap.xml
|
||||||
- cd public
|
- cd public
|
||||||
- zip -r project.zip . -x ".*"
|
- zip -r project.zip . -x ".*"
|
||||||
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'
|
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'
|
||||||
|
|
Loading…
Reference in a new issue