1
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-06-29 05:46:59 +01:00

Use alpine and rclone

The rclone container is based on `scratch`, so trying to execute commands in it fails due to lack of `sh`
This commit is contained in:
Jake Howard 2021-06-03 07:37:38 +00:00
parent f779a1e69e
commit 4afed99a61

View File

@ -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: