This repository has been archived on 2023-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
sophie-lewis-hugo/.drone.yml

31 lines
729 B
YAML
Raw Normal View History

2022-12-23 22:32:58 +00:00
---
kind: pipeline
name: deploy to docker container
steps:
- name: docker cp deploy
image: 3wordchant/docker-cp-deploy:latest
settings:
host: swarm.autonomic.zone
2022-12-23 23:04:03 +00:00
service: lasophielle_org_app
source: .
dest: /src
2022-12-23 22:32:58 +00:00
deploy_key:
from_secret: drone_ssh_swarm.autonomic.zone
- name: notify on failure
image: plugins/slack
settings:
username: comradebritney
channel: internal.robot-test-zone
template: "{{repo.owner}}/{{repo.name}} build failed: {{build.link}}. Last commit by @{{build.author}}"
webhook:
from_secret: rc_builds_url
depends_on:
- docker cp deploy
when:
status:
- failure
trigger:
branch:
- main