Browse Source

probar con SCP

master
void 1 month ago
parent
commit
4a078882e7
1 changed files with 7 additions and 9 deletions
  1. 7
    9
      .drone.yml

+ 7
- 9
.drone.yml View File

@@ -14,19 +14,17 @@ steps:
14 14
       - export VUE_APP_PAPAS_DIA_URL=https://api.ninty.homework-manager.ml/papasdia
15 15
       - export VUE_APP_DEBUG=false
16 16
       - npm run build
17
-
18 17
   - name: deploy
19
-    image: drillster/drone-rsync
20
-    environment:
21
-      RSYNC_KEY:
22
-        from_secret: rsync_key
18
+    image: appleboy/drone-scp
23 19
     settings:
20
+      host: 192.168.86.25
24 21
       user: pi
25
-      source: ./dist/
22
+      port: 22
23
+      key:
24
+        from_secret: ssh_key
26 25
       target: /var/www/html/ninty/
27
-      hosts:
28
-        - 192.168.86.25
29
-      secrets: [ rsync_key ]
26
+      source:
27
+        - dist/
30 28
     when:
31 29
       branch:
32 30
         - master

Loading…
Cancel
Save