Browse Source

drone: fix deploy path

pull/1/head
Annika Backstrom 1 year ago
parent
commit
763555f948
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .drone.yml

+ 2
- 2
.drone.yml View File

@@ -14,7 +14,7 @@ pipeline:
secrets: [ ssh_private_key, ssh_host_key ]
commands:
- drone-ssh-keys
- rsync -hrz --delete -C --exclude=".*" -e ssh ./output ./nginx ./assets deploy@web04.sixohthree.com:sixohthree.com/
- ssh deploy@web04.sixohthree.com 'sudo /usr/sbin/service nginx reload'
- rsync -hrz --delete -C --exclude=".*" -e ssh ./output ./nginx ./assets deploy@web04.sixohthree.com:/var/sixohthree/sixohthree.com
- ssh deploy@web04.sixohthree.com 'sudo systemctl reload nginx'

branches: master

Loading…
Cancel
Save