From 83ba2de0a7ee3e610597bde953d40ed14ce95c6a Mon Sep 17 00:00:00 2001 From: Raul Pereira Date: Thu, 18 Jan 2024 15:57:26 -0300 Subject: [PATCH] setup ci w/ 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..6d9c661 --- /dev/null +++ b/.github/workflows/fly.yml @@ -0,0 +1,17 @@ +name: Fly Deploy +on: + push: + branches: + - main +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@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +