Spaces:
Runtime error
Runtime error
Download .github/workflows/fly-deploy.yml from VioletWizard/Talk-Trace-AI: direct link, hf CLI and curl.
- Browser
- Download file 770 Bytes
-
https://huggingface.co/spaces/VioletWizard/Talk-Trace-AI/resolve/main/.github/workflows/fly-deploy.yml
- Command line
-
hf download hf://spaces/VioletWizard/Talk-Trace-AI/.github/workflows/fly-deploy.yml
-
curl -L -o fly-deploy.yml https://huggingface.co/spaces/VioletWizard/Talk-Trace-AI/resolve/main/.github/workflows/fly-deploy.yml
770 Bytes
| name: Deploy to Fly.io | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: GHCR 로그인 | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: fly.io 배포 | |
| run: flyctl deploy --local-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| - name: 앱 워밍업 (콜드 스타트 방지) | |
| run: | | |
| sleep 30 | |
| curl -f https://talk-trace-ai.fly.dev/ --retry 5 --retry-delay 10 || true | |