Browse Source

drone: use new deploy image

pull/1/head
Annika Backstrom 1 year ago
parent
commit
76ce742422
1 changed files with 3 additions and 5 deletions
  1. 3
    5
      .drone.yml

+ 3
- 5
.drone.yml View File

@@ -10,11 +10,9 @@ pipeline:
10 10
       - pelican content -o output -s publishconf.py
11 11
 
12 12
   deploy:
13
-    image: images.abackstrom.com/rsync-ssh
14
-    secrets: [ ssh_private_key, ssh_host_key ]
13
+    image: images.abackstrom.com/rsync-ssh:2
15 14
     commands:
16
-      - drone-ssh-keys
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'
15
+      - rsync -hrz --delete -C -e ssh ./output ./nginx ./assets web04:/var/sixohthree/sixohthree.com
16
+      - ssh web04 'sudo systemctl reload nginx'
19 17
 
20 18
 branches: master

Loading…
Cancel
Save