From 5db8baf65c7ef17a315836375ce0950abc98b1fa Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 3 Jun 2021 07:55:34 +0000 Subject: [PATCH] Obscure password when using it with rclone https://forum.rclone.org/t/using-rclone-via-environment-variables/12746 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02316de..b2a392f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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