diff --git a/.drone.yml b/.drone.yml index 18bdab8..f3736e8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,9 @@ kind: pipeline name: default +clone: + depth: 1 + steps: - name: submodules image: alpine/git @@ -26,7 +29,7 @@ steps: GID: from_secret: gid commands: - - chown -R "$UID":"$GID" public/* + - chown -R "$UID":"$GID" public/ - mv public/ "/blog/${DRONE_COMMIT}" - cd /blog/ - rm -f blog.lazkani.io