From c2b939dccf2884403079cdd21ff35bad3ec3dde5 Mon Sep 17 00:00:00 2001 From: akazwz <50396286+akazwz@users.noreply.github.com> Date: Wed, 19 Jun 2024 20:08:48 +0800 Subject: [PATCH] Create fly.yml --- .github/workflows/fly.yml | 16 ++++++++++++++++ 1 file changed, 16 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..9e71080 --- /dev/null +++ b/.github/workflows/fly.yml @@ -0,0 +1,16 @@ +name: Fly Deploy +on: + push: + branches: + - master # change to main if needed +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + concurrency: deploy-group # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v4 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}