From e4f6e6a1ea0a006e403a2866167f7a9ec48d6f44 Mon Sep 17 00:00:00 2001 From: Tom Konidas Date: Sat, 7 Sep 2024 12:03:34 -0400 Subject: [PATCH] Configure CI/CD on main branch (#365) --- .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 00000000..debb4731 --- /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 + concurrency: deploy-group + 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 }}