Fix job dependencies
This commit is contained in:
parent
b1fc61e835
commit
0e8cf3468f
|
@ -16,8 +16,8 @@ build:
|
||||||
- hugo version
|
- hugo version
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cp custom.html themes/blowfish/layouts/partials/home/custom.html
|
- 'cp custom.html themes/blowfish/layouts/partials/home/custom.html'
|
||||||
- hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"
|
- 'hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"'
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
@ -29,6 +29,7 @@ push:
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- "rclone sync -v --retries 10 --exclude='hm/**' --webdav-url ${WEBDAV_URL} --webdav-user ${WEBDAV_USERNAME} --webdav-pass $(echo -n \"${WEBDAV_PASSWORD}\" | rclone obscure -) ./public :webdav:${WEBDAV_REMOTE_PATH}/${DEST_DIRECTORY}"
|
- "rclone sync -v --retries 10 --exclude='hm/**' --webdav-url ${WEBDAV_URL} --webdav-user ${WEBDAV_USERNAME} --webdav-pass $(echo -n \"${WEBDAV_PASSWORD}\" | rclone obscure -) ./public :webdav:${WEBDAV_REMOTE_PATH}/${DEST_DIRECTORY}"
|
||||||
|
dependencies:
|
||||||
|
- build
|
||||||
only:
|
only:
|
||||||
- no-masters
|
- no-masters
|
||||||
|
|
Loading…
Reference in New Issue