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,15 +1,11 @@
pipeline:
deploy:
image: alpine:latest
image: flyio/flyctl:latest
commands:
- 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
- cd fly-cfg
- /root/.fly/bin/flyctl deploy --detach
- /flyctl deploy --detach --remote-only
secrets: [fly_api_token]
depends_on:
- build
skip_clone: true
skip_clone: true