1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-29 05:46:59 +01: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