mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 12:05: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:
parent
ab58d38b33
commit
5db8baf65c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue