File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed
Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1+ name : 🤖 Branch Preview
2+
3+ concurrency :
4+ group : ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ on :
8+ push :
9+ branches : [main]
10+
11+ jobs :
12+ deploy :
13+ name : 🚀 Deploy Branch Preview
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : forge-42/fly-deploy@v1.0.0-rc.2
18+ id : deploy
19+ env :
20+ FLY_ORG : ${{ vars.FLY_ORG }}
21+ FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
22+ FLY_REGION : ${{ vars.FLY_REGION }}
23+ with :
24+ app_name : ${{github.event.repository.name}}-${{ github.ref_name }}
25+ env_vars : |
26+ APP_ENV=staging
27+ GITHUB_OWNER=${{github.repository_owner}}
28+ GITHUB_REPO=${{github.event.repository.name}}
29+ GITHUB_REPO_URL=https://github.com/${{ github.repository }}
Original file line number Diff line number Diff line change 2424 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
2525 FLY_ORG : ${{ vars.FLY_ORG }}
2626 with :
27- app_name : ${{ env.FLY_ORG }}-${{ github.event.number }}
27+ app_name : ${{github.event.repository.name }}-${{ github.event.number }}
Original file line number Diff line number Diff line change 1- # fly.toml app configuration file generated for docs-template-test on 2025-09-12T12:27:12 +02:00
1+ # fly.toml app configuration file generated for docs-template-test on 2025-09-19T15:08:49 +02:00
22#
33# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44#
You can’t perform that action at this time.
0 commit comments