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:
|
||||
build:
|
||||
image: alpine:edge
|
||||
commands:
|
||||
- apk add --no-cache zola
|
||||
- zola build
|
||||
- rm public/robots.txt public/sitemap.xml
|
||||
|
||||
deploy:
|
||||
image: alpine:latest
|
||||
name: Zip files
|
||||
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
|
||||
- zip -r project.zip . -x ".*"
|
||||
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'
|
||||
|
|
Loading…
Reference in a new issue