1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-16 19:39:24 +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:
- apk add --no-cache rclone
script:
- export RCLONE_CONFIG_PAGES_PASS=`rclone obscure $RCLONE_WEBDAV_PASSWORD`
- rclone sync public/ pages:notes.theorangeone.net/
variables:
RCLONE_CONFIG_PAGES_TYPE: webdav
RCLONE_CONFIG_PAGES_URL: https://pages.theorangeone.net
RCLONE_CONFIG_PAGES_USER: github
RCLONE_CONFIG_PAGES_PASS: $RCLONE_WEBDAV_PASSWORD