Add fly deployment action

This commit is contained in:
Riordan Panayides 2023-01-13 19:27:05 +00:00
parent b51138afd5
commit 902e2cbb01
1 changed files with 21 additions and 0 deletions

21
.github/workflows/fly-deploy.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Deploy to Fly
on:
push:
branches: [main]
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy
run: flyctl deploy