Use flyio/flyctl instead of downloading flyctl

This commit is contained in:
video-prize-ranch 2022-07-21 11:19:25 -04:00
parent be349ec9d9
commit 6b4e6e6436
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
1 changed files with 3 additions and 7 deletions

View File

@ -1,12 +1,8 @@
pipeline: pipeline:
deploy: deploy:
image: alpine:latest image: flyio/flyctl:latest
commands: commands:
- apk update && apk --no-cache add curl git - /flyctl deploy --detach --remote-only
- wget -O - https://fly.io/install.sh | sh
- git clone https://codeberg.org/video-prize-ranch/fly-cfg.git
- cd fly-cfg
- /root/.fly/bin/flyctl deploy --detach
secrets: [fly_api_token] secrets: [fly_api_token]
depends_on: depends_on: