fix(): No need for a full history lesson
This commit is contained in:
parent
8156ae17e1
commit
01cfb46fb8
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue