2022-03-29 16:10:52 +02:00
|
|
|
platform: 'linux/amd64'
|
|
|
|
branch: 'main'
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
release:
|
2022-04-02 14:09:07 +02:00
|
|
|
image: 'klakegg/hugo:alpine'
|
|
|
|
commands:
|
|
|
|
- hugo
|
|
|
|
- cd public && tar czvf ../public.tar.gz *
|
2022-03-29 18:08:16 +02:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
image: 'curlimages/curl'
|
|
|
|
secrets:
|
2022-04-02 14:09:07 +02:00
|
|
|
- 'api_key'
|
2022-03-29 18:08:16 +02:00
|
|
|
commands:
|
2022-04-02 14:09:07 +02:00
|
|
|
- curl -XPOST --fail -s -H 'Authorization: Bearer $API_KEY' https://rustybever.be/api/deploy
|