Merge branch 'main' into staging
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
32573b9bd0
22
.drone.yml
22
.drone.yml
@ -17,6 +17,23 @@ steps:
|
|||||||
dest: /src
|
dest: /src
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_ssh_swarm.autonomic.zone
|
from_secret: drone_ssh_swarm.autonomic.zone
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
- name: docker cp deploy staging
|
||||||
|
image: 3wordchant/docker-cp-deploy:latest
|
||||||
|
depends_on:
|
||||||
|
- submodule
|
||||||
|
settings:
|
||||||
|
host: swarm.autonomic.zone
|
||||||
|
service: lasophielle-staging_autonomic_zone_app
|
||||||
|
source: .
|
||||||
|
dest: /src
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_swarm.autonomic.zone
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- staging
|
||||||
- name: notify on failure
|
- name: notify on failure
|
||||||
image: plugins/slack
|
image: plugins/slack
|
||||||
settings:
|
settings:
|
||||||
@ -27,10 +44,7 @@ steps:
|
|||||||
from_secret: rc_builds_url
|
from_secret: rc_builds_url
|
||||||
depends_on:
|
depends_on:
|
||||||
- docker cp deploy
|
- docker cp deploy
|
||||||
|
- docker cp deploy staging
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
|
Reference in New Issue
Block a user