drone: adding workspace

This commit is contained in:
Marvin Steadfast 2019-04-16 21:26:37 +02:00
parent 40adac68a1
commit 7ff25d0810

View File

@ -1,6 +1,9 @@
kind: pipeline
name: default
workspace:
base: /blog
steps:
- name: submodules
@ -16,7 +19,5 @@ steps:
FTP_PASS:
from_secret: ftp_pass
commands:
- sudo cp -a /drone/src/. /blog/
- sudo chown -R blog:blog /blog
- cd /blog
- make ftp_upload