Spaces:
Running
Running
Download .github/workflows/fly-deploy.yml from miss-clean-spa/api: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/.github/workflows/fly-deploy.yml
- Command line
-
hf download hf://spaces/miss-clean-spa/api/.github/workflows/fly-deploy.yml
-
curl -L -o fly-deploy.yml https://huggingface.co/spaces/miss-clean-spa/api/resolve/main/.github/workflows/fly-deploy.yml
495 Bytes
| # See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ | |
| name: Fly Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy app | |
| runs-on: ubuntu-latest | |
| concurrency: deploy-group # optional: ensure only one action runs at a time | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - run: flyctl deploy --remote-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |