Add deploy stage [skip ci]

This commit is contained in:
video-prize-ranch 2022-06-04 19:48:31 -04:00
parent b7d8f02542
commit f3ac0369b1
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
1 changed files with 12 additions and 0 deletions

View File

@ -4,6 +4,7 @@ variables:
stages:
- build
- deploy
docker:
image: docker:20
@ -26,3 +27,14 @@ docker:
artifacts:
paths:
- 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