From 902e2cbb01c03c8c35698393585b1fc99c145ab3 Mon Sep 17 00:00:00 2001 From: Riordan Panayides Date: Fri, 13 Jan 2023 19:27:05 +0000 Subject: [PATCH] Add fly deployment action --- .github/workflows/fly-deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/fly-deploy.yml diff --git a/.github/workflows/fly-deploy.yml b/.github/workflows/fly-deploy.yml new file mode 100644 index 00000000..3496229b --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -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 \ No newline at end of file