Skip to content

Commit

Permalink
Add basic Fly.io deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joeriddles committed Feb 1, 2024
1 parent 51ced08 commit 4e96423
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Fly Deploy
on:
workflow_dispatch:
push:
branches:
- 'main'

env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: superfly/flyctl-actions/setup-flyctl@master

- name: Deploy to fly.io
run: flyctl deploy --remote-only

0 comments on commit 4e96423

Please sign in to comment.