2022-07-13 18:17:23 +00:00
|
|
|
pipeline:
|
|
|
|
deploy:
|
2022-07-21 15:22:46 +00:00
|
|
|
image: alpine:latest
|
2022-07-13 18:17:23 +00:00
|
|
|
commands:
|
2022-07-21 15:22:46 +00:00
|
|
|
- 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
|
2022-10-06 10:54:04 +00:00
|
|
|
- cd fly-cfg/rimgo
|
2022-07-21 15:23:55 +00:00
|
|
|
- /root/.fly/bin/flyctl deploy --detach --remote-only
|
2022-07-13 18:17:23 +00:00
|
|
|
secrets: [fly_api_token]
|
2022-11-18 16:56:19 +00:00
|
|
|
when:
|
|
|
|
branch: main
|
2022-07-13 18:17:23 +00:00
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build
|
|
|
|
|
2022-07-21 15:23:55 +00:00
|
|
|
skip_clone: true
|