Switched ci to new deploy system
parent
4d8b481daa
commit
c0cb6f9e0b
|
@ -3,17 +3,14 @@ branch: 'main'
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
release:
|
release:
|
||||||
image: 'plugins/docker'
|
image: 'klakegg/hugo:alpine'
|
||||||
settings:
|
commands:
|
||||||
repo: 'chewingbever/site'
|
- hugo
|
||||||
tag: 'latest'
|
- cd public && tar czvf ../public.tar.gz *
|
||||||
secrets:
|
|
||||||
- 'docker_username'
|
|
||||||
- 'docker_password'
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: 'curlimages/curl'
|
image: 'curlimages/curl'
|
||||||
secrets:
|
secrets:
|
||||||
- 'webhook'
|
- 'api_key'
|
||||||
commands:
|
commands:
|
||||||
- curl -XPOST --fail -s "$WEBHOOK"
|
- curl -XPOST --fail -s -H 'Authorization: Bearer $API_KEY' https://rustybever.be/api/deploy
|
||||||
|
|
Loading…
Reference in New Issue