Skip to content

Commit

Permalink
feat: fly take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
thewander02 committed Jan 8, 2025
1 parent dac41df commit 11e4959
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/

name: Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
7 changes: 6 additions & 1 deletion fly.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# fly.toml app configuration file generated for tips-pyro on 2025-01-08T00:44:38-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'tips-pyro'
primary_region = 'dfw'
primary_region = 'lax'

[build]
dockerfile='Dockerfile'
Expand Down

0 comments on commit 11e4959

Please sign in to comment.