feat(ci): add deploy
Some checks failed
ci/woodpecker/push/deploy unknown status
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/clippy Pipeline failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Jef Roosens 2023-05-17 23:18:54 +02:00
parent af828dc48e
commit 42d1fe8212
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB

22
.woodpecker/deploy.yml Normal file
View file

@ -0,0 +1,22 @@
platform: 'linux/amd64'
branches: 'main'
pipeline:
release:
image: 'plugins/docker'
settings:
registry: 'git.rustybever.be'
repo: 'git.rustybever.be/chewing_bever/affy'
tag:
- 'latest'
mtu: 1300
secrets:
- 'docker_username'
- 'docker_password'
deploy:
image: 'curlimages/curl'
secrets:
- 'webhook'
commands:
- curl -XPOST --fail -s "$WEBHOOK"