mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 19:05:59 +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:
parent
f779a1e69e
commit
4afed99a61
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue