fix(): No need for a full history lesson

This commit is contained in:
Elia el Lazkani 2021-07-04 09:54:30 +02:00
parent 8156ae17e1
commit 01cfb46fb8

View file

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