sourcehut-fly-deploy.yml
· 313 B · YAML
Eredeti
image: alpine/latest
packages:
- curl
secrets:
- big-long-uuid
tasks:
- deploy: |
curl -L https://fly.io/install.sh | sh
set +x
export FLY_API_TOKEN=$(cat ~/.fly_token)
set -x
export FLYCTL_INSTALL="/home/build/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"
flyctl deploy --remote-only
| 1 | image: alpine/latest |
| 2 | packages: |
| 3 | - curl |
| 4 | secrets: |
| 5 | - big-long-uuid |
| 6 | tasks: |
| 7 | - deploy: | |
| 8 | curl -L https://fly.io/install.sh | sh |
| 9 | set +x |
| 10 | export FLY_API_TOKEN=$(cat ~/.fly_token) |
| 11 | set -x |
| 12 | |
| 13 | export FLYCTL_INSTALL="/home/build/.fly" |
| 14 | export PATH="$FLYCTL_INSTALL/bin:$PATH" |
| 15 | flyctl deploy --remote-only |