This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -19,3 +19,17 @@ steps:
|
||||
repo: git.prtsie.ru/prtsie/schengen-visa-${DRONE_BRANCH}
|
||||
tags:
|
||||
- latest
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
when:
|
||||
branch: main
|
||||
settings:
|
||||
script_stop: true
|
||||
host: prtsie.ru:1337
|
||||
username: root
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
script:
|
||||
- cd /deploy
|
||||
- ./deploy.sh ${DRONE_BRANCH}
|
||||
|
||||
Reference in New Issue
Block a user