瀏覽代碼

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