Temporarily disable main deployment
This commit is contained in:
parent
911a6c324c
commit
ae5b1adb14
30
.drone.yml
30
.drone.yml
@ -6,20 +6,20 @@ steps:
|
||||
image: plugins/git
|
||||
settings:
|
||||
recursive: true
|
||||
- name: docker cp deploy
|
||||
image: 3wordchant/docker-cp-deploy:latest
|
||||
depends_on:
|
||||
- submodule
|
||||
settings:
|
||||
host: swarm.autonomic.zone
|
||||
service: lasophielle_org_app
|
||||
source: .
|
||||
dest: /src
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm.autonomic.zone
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
# - name: docker cp deploy
|
||||
# image: 3wordchant/docker-cp-deploy:latest
|
||||
# depends_on:
|
||||
# - submodule
|
||||
# settings:
|
||||
# host: swarm.autonomic.zone
|
||||
# service: lasophielle_org_app
|
||||
# source: .
|
||||
# dest: /src
|
||||
# deploy_key:
|
||||
# from_secret: drone_ssh_swarm.autonomic.zone
|
||||
# when:
|
||||
# branch:
|
||||
# - main
|
||||
- name: docker cp deploy staging
|
||||
image: 3wordchant/docker-cp-deploy:latest
|
||||
depends_on:
|
||||
@ -43,7 +43,7 @@ steps:
|
||||
webhook:
|
||||
from_secret: rc_builds_url
|
||||
depends_on:
|
||||
- docker cp deploy
|
||||
# - docker cp deploy
|
||||
- docker cp deploy staging
|
||||
when:
|
||||
status:
|
||||
|
Loading…
Reference in New Issue
Block a user