diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 1e36bf3..236a4f5 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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"'