mirror of
https://codeberg.org/librarian/stream-proxy
synced 2024-12-06 19:26:34 +01:00
Add deploy step [skip ci]
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
variables:
|
variables:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
image: docker:20
|
image: docker:20
|
||||||
stage: build
|
stage: build
|
||||||
@@ -23,3 +27,14 @@ docker:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- stream-proxy
|
- stream-proxy
|
||||||
|
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user