drone: adding workspace
This commit is contained in:
parent
40adac68a1
commit
7ff25d0810
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user