Talk-Trace-AI / .github /workflows /fly-deploy.yml
Claude
chore: docker/login-action v3 → v4 (Node.js 24 지원)
a0998f6 unverified
Raw History Blame Contribute Delete
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