1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-12-23 00:56:06 +00: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 expire_in: 30 mins
deploy: deploy:
image: rclone/rclone:1 image: alpine
stage: deploy stage: deploy
dependencies: dependencies:
- static - static
@ -21,6 +21,8 @@ deploy:
environment: environment:
name: notes name: notes
url: https://notes.theorangeone.net url: https://notes.theorangeone.net
before_script:
- apk add --no-cache rclone
script: script:
- rclone sync public/ pages:notes.theorangeone.net/ - rclone sync public/ pages:notes.theorangeone.net/
variables: variables: