We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad0f5ac commit e36dba2Copy full SHA for e36dba2
.github/workflows/deploy.yml
@@ -0,0 +1,27 @@
1
+name: Deploy to Fly.io
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
8
+# Only one deploy at a time
9
+concurrency:
10
+ group: deploy
11
+ cancel-in-progress: false
12
13
+jobs:
14
+ deploy:
15
+ name: Deploy warpgrid-cloud
16
+ runs-on: blacksmith-4vcpu-ubuntu-2404
17
+ # Only deploy if CI passed (check & test must succeed)
18
+ needs: []
19
+ steps:
20
+ - uses: actions/checkout@v4
21
22
+ - uses: superfly/flyctl-actions/setup-flyctl@master
23
24
+ - name: Deploy to Fly.io
25
+ run: flyctl deploy --config infra/fly-cloud.toml --dockerfile infra/Dockerfile --app warpgrid-cloud
26
+ env:
27
+ FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
0 commit comments