From 8d752cb5b85215d2a9466538e846a002bf2a932a Mon Sep 17 00:00:00 2001 From: motatoes Date: Fri, 19 Jul 2024 09:55:49 +0100 Subject: [PATCH] add deployment script for next --- .github/workflows/next_deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/next_deploy.yml diff --git a/.github/workflows/next_deploy.yml b/.github/workflows/next_deploy.yml new file mode 100644 index 000000000..f3b1609b5 --- /dev/null +++ b/.github/workflows/next_deploy.yml @@ -0,0 +1,21 @@ +name: Fly Deploy +on: + push: + branches: + - develop # change to main if needed + - feat/next + pull_request: + branches: + - feat/next + +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.FLYIO_TOKEN }} \ No newline at end of file