From 4afed99a61da6c43814df445ac0ecb064063cab0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 3 Jun 2021 07:37:38 +0000 Subject: [PATCH] Use alpine and rclone The rclone container is based on `scratch`, so trying to execute commands in it fails due to lack of `sh` --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c85ebac..bf1b6f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ static: expire_in: 30 mins deploy: - image: rclone/rclone:1 + image: alpine stage: deploy dependencies: - static @@ -21,6 +21,8 @@ deploy: environment: name: notes url: https://notes.theorangeone.net + before_script: + - apk add --no-cache rclone script: - rclone sync public/ pages:notes.theorangeone.net/ variables: