From 97d5710c2e94c6f4c02c01ff18b9f3456512b670 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 4 Jan 2024 18:23:08 +0530 Subject: [PATCH] deploy to fly.io --- .github/workflows/fly.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/fly.yml diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml new file mode 100644 index 0000000..6d343a7 --- /dev/null +++ b/.github/workflows/fly.yml @@ -0,0 +1,17 @@ +name: Deploy to Fly.io + +on: + push: + branches: + - main + +jobs: + deploy: + name: Deploy + 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 }}