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 kind: pipeline
name: default name: default
workspace:
base: /blog
steps: steps:
- name: submodules - name: submodules
@ -16,7 +19,5 @@ steps:
FTP_PASS: FTP_PASS:
from_secret: ftp_pass from_secret: ftp_pass
commands: commands:
- sudo cp -a /drone/src/. /blog/
- sudo chown -R blog:blog /blog - sudo chown -R blog:blog /blog
- cd /blog
- make ftp_upload - make ftp_upload