ソースを参照

Might finally be working!

Colin Powell 2 年 前
コミット
994542d2f0
1 ファイル変更3 行追加3 行削除
  1. 3 3
      .drone.yml

+ 3 - 3
.drone.yml

@@ -11,7 +11,6 @@ steps:
     image: klakegg/hugo:alpine
     commands:
       - hugo -d /tmp/.build/public
-      - ls /tmp/.build/public
     volumes:
       - name: hugo
         path: /tmp/.build/public
@@ -19,6 +18,9 @@ steps:
     image: drillster/drone-rsync
     settings:
       user: root
+      delete: true
+      recursive: true
+      args: "-v"
       key:
         from_secret: key
       hosts:
@@ -26,8 +28,6 @@ steps:
       source: /tmp/.build/public
       target: /home/user-data/www/unbl.ink/
       secrets: [ key ]
-    commands:
-      - ls /tmp/.build/public
     volumes:
       - name: hugo
         path: /tmp/.build/public