diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..74ca25b76f9740fba213727956eb994dc80e4e24 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +stages: + - push + +variables: + WEBDAV_REMOTE_PATH: html-es.hackmeeting.org + WEBDAV_USERNAME: es_hackmeeting + WEBDAV_URL: https://www.autistici.org/dav/es_hackmeeting + +push: + stage: push + image: + name: rclone/rclone:latest + 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 -) ./ :webdav:${WEBDAV_REMOTE_PATH}/2024" + + only: + - master +