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:
14 14
     secrets: [ ssh_private_key, ssh_host_key ]
15 15
     commands:
16 16
       - drone-ssh-keys
17
-      - rsync -hrz --delete -C --exclude=".*" -e ssh ./output ./nginx ./assets deploy@web04.sixohthree.com:sixohthree.com/
18
-      - ssh deploy@web04.sixohthree.com 'sudo /usr/sbin/service nginx reload'
17
+      - rsync -hrz --delete -C --exclude=".*" -e ssh ./output ./nginx ./assets deploy@web04.sixohthree.com:/var/sixohthree/sixohthree.com
18
+      - ssh deploy@web04.sixohthree.com 'sudo systemctl reload nginx'
19 19
 
20 20
 branches: master

Loading…
Cancel
Save