Fix job dependencies

This commit is contained in:
selankon 2024-07-09 15:38:41 +02:00
parent b1fc61e835
commit 0e8cf3468f
1 changed files with 4 additions and 3 deletions

View File

@ -16,8 +16,8 @@ build:
- hugo version
stage: build
script:
- cp custom.html themes/blowfish/layouts/partials/home/custom.html
- hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"
- 'cp custom.html themes/blowfish/layouts/partials/home/custom.html'
- 'hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"'
artifacts:
paths:
- public
@ -29,6 +29,7 @@ push:
entrypoint: [""]
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}"
dependencies:
- build
only:
- no-masters