From 94181a746a6529488a0c3761629da5eb0df98a18 Mon Sep 17 00:00:00 2001 From: Tom Konidas Date: Sat, 7 Sep 2024 12:02:19 -0400 Subject: [PATCH] Configure CI/CD on main branch --- .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 }}