From f779a1e69ece59062b74914febc5b94d01eeb176 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 3 Jun 2021 07:29:44 +0000 Subject: [PATCH] Actually deploy site --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c312dee..c85ebac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ static: expire_in: 30 mins deploy: - image: alpine + image: rclone/rclone:1 stage: deploy dependencies: - static @@ -22,4 +22,8 @@ deploy: name: notes url: https://notes.theorangeone.net script: - - ls -alh ./public + - 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