site-backend/.woodpecker/.deploy.yml

26 lines
442 B
YAML
Raw Normal View History

2022-04-02 21:02:15 +02:00
platform: 'linux/amd64'
branches: 'main'
2022-04-02 13:45:04 +02:00
pipeline:
release:
image: 'plugins/docker'
settings:
repo: 'chewingbever/site'
tag:
- 'latest'
- "${CI_COMMIT_TAG}"
secrets:
- 'docker_username'
- 'docker_password'
2022-04-02 13:52:48 +02:00
when:
event: tag
2022-04-02 13:45:04 +02:00
deploy:
image: 'curlimages/curl'
secrets:
- 'webhook'
commands:
- curl -XPOST --fail -s "$WEBHOOK"
2022-04-02 13:52:48 +02:00
when:
event: tag