Merge branch 'main' of https://github.com/goatonabicycle/millions-of-… #120
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Fly.io | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| name: Deploy app | |
| runs-on: ubuntu-latest | |
| concurrency: deploy-group | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - name: Set Fly Secrets | |
| run: | | |
| flyctl secrets set SUPABASE_URL="${{ secrets.SUPABASE_URL }}" | |
| flyctl secrets set SUPABASE_SERVICE_KEY="${{ secrets.SUPABASE_SERVICE_KEY }}" | |
| flyctl secrets set SUPABASE_ANON_KEY="${{ secrets.SUPABASE_ANON_KEY }}" | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| - name: Deploy | |
| run: flyctl deploy --remote-only | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |