Add deploy stage [skip ci]
This commit is contained in:
parent
b7d8f02542
commit
f3ac0369b1
|
@ -4,6 +4,7 @@ variables:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
image: docker:20
|
image: docker:20
|
||||||
|
@ -26,3 +27,14 @@ docker:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- rimgo
|
- rimgo
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: alpine:latest
|
||||||
|
stage: deploy
|
||||||
|
before_script:
|
||||||
|
- apk update && apk --no-cache add curl git
|
||||||
|
- wget -O - https://fly.io/install.sh | sh
|
||||||
|
- git clone https://codeberg.org/video-prize-ranch/fly-cfg.git
|
||||||
|
script:
|
||||||
|
- cd fly-cfg
|
||||||
|
- /root/.fly/bin/flyctl deploy --no-cache --detach
|
Loading…
Reference in New Issue