17 lines
354 B
YAML
17 lines
354 B
YAML
platform: 'linux/amd64'
|
|
branch: 'main'
|
|
|
|
pipeline:
|
|
release:
|
|
image: 'klakegg/hugo:alpine'
|
|
commands:
|
|
- hugo
|
|
- cd public && tar czvf ../public.tar.gz *
|
|
|
|
deploy:
|
|
image: 'curlimages/curl'
|
|
secrets:
|
|
- 'api_key'
|
|
commands:
|
|
- curl -XPOST --fail -s -H 'Authorization: Bearer $API_KEY' https://rustybever.be/api/deploy
|