From 39798f50f74a5bd34eb62c412030434d2b0dbdc3 Mon Sep 17 00:00:00 2001 From: Mariano Uvalle Date: Sun, 12 Nov 2023 06:45:02 +0000 Subject: [PATCH] Auto deploy to fly on changes to master. --- .github/workflows/fly-deploy.yml | 16 ++++++++++++++++ 1 file changed, 16 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 0000000..07f37aa --- /dev/null +++ b/.github/workflows/fly-deploy.yml @@ -0,0 +1,16 @@ +name: Fly Deploy +on: + push: + branches: + - main +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +