diff --git a/.woodpecker.yml b/.woodpecker.yml index 67dad1f..c08f467 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,17 +3,14 @@ branch: 'main' pipeline: release: - image: 'plugins/docker' - settings: - repo: 'chewingbever/site' - tag: 'latest' - secrets: - - 'docker_username' - - 'docker_password' + image: 'klakegg/hugo:alpine' + commands: + - hugo + - cd public && tar czvf ../public.tar.gz * deploy: image: 'curlimages/curl' secrets: - - 'webhook' + - 'api_key' commands: - - curl -XPOST --fail -s "$WEBHOOK" + - curl -XPOST --fail -s -H 'Authorization: Bearer $API_KEY' https://rustybever.be/api/deploy