1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-22 23:45:58 +00:00

Obscure password when using it with rclone

https://forum.rclone.org/t/using-rclone-via-environment-variables/12746
This commit is contained in:
Jake Howard 2021-06-03 07:55:34 +00:00
parent ab58d38b33
commit 5db8baf65c

View file

@ -24,9 +24,9 @@ deploy:
before_script: before_script:
- apk add --no-cache rclone - apk add --no-cache rclone
script: script:
- export RCLONE_CONFIG_PAGES_PASS=`rclone obscure $RCLONE_WEBDAV_PASSWORD`
- rclone sync public/ pages:notes.theorangeone.net/ - rclone sync public/ pages:notes.theorangeone.net/
variables: variables:
RCLONE_CONFIG_PAGES_TYPE: webdav RCLONE_CONFIG_PAGES_TYPE: webdav
RCLONE_CONFIG_PAGES_URL: https://pages.theorangeone.net RCLONE_CONFIG_PAGES_URL: https://pages.theorangeone.net
RCLONE_CONFIG_PAGES_USER: github RCLONE_CONFIG_PAGES_USER: github
RCLONE_CONFIG_PAGES_PASS: $RCLONE_WEBDAV_PASSWORD