소스 검색

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