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
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue