We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a7060 commit db960e1Copy full SHA for db960e1
.github/workflows/fly.yml
@@ -0,0 +1,16 @@
1
+name: Fly Deploy
2
+on:
3
+ push:
4
+ branches:
5
+ - main # change to main if needed
6
+jobs:
7
+ deploy:
8
+ name: Deploy app
9
+ runs-on: ubuntu-latest
10
+ concurrency: deploy-group # optional: ensure only one action runs at a time
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: superfly/flyctl-actions/setup-flyctl@master
14
+ - run: flyctl deploy --remote-only
15
+ env:
16
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
fly.toml
@@ -14,7 +14,7 @@ primary_region = 'ams'
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
17
- min_machines_running = 0
+ min_machines_running = 1
18
processes = ['app']
19
20
[[vm]]
0 commit comments