Browse Source

drone.yml

master
Andrey Kovalev 3 years ago
parent
commit
592268bf5f
Signed by: Russia9
GPG Key ID: EC3AA65373CA51DC
  1. 34
      .drone.yml

34
.drone.yml

@ -18,20 +18,20 @@ steps:
cache_from: cache_from:
- cr.selcloud.ru/russia9/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}:latest - cr.selcloud.ru/russia9/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}:latest
# - name: deploy - name: deploy
# image: appleboy/drone-ssh image: appleboy/drone-ssh
# settings: settings:
# host: host:
# from_secret: ssh_address from_secret: ssh_address
# username: username:
# from_secret: ssh_username from_secret: ssh_username
# key: key:
# from_secret: ssh_key from_secret: ssh_key
# port: 22 port: 22
# script_stop: true script_stop: true
# script: script:
# - docker-compose -f /srv/cw3-offers/docker-compose.yml pull - docker-compose -f /srv/chatwars-duels/docker-compose.yml pull
# - docker-compose -f /srv/cw3-offers/docker-compose.yml up -d - docker-compose -f /srv/chatwars-duels/docker-compose.yml up -d
# when: when:
# branch: branch:
# - master - master

Loading…
Cancel
Save