From 3d30785a5312a6db93e87db814edad493e9287a8 Mon Sep 17 00:00:00 2001 From: Shawn Mclean Date: Tue, 21 May 2024 21:16:12 -0500 Subject: [PATCH] update deploy script --- .github/workflows/deploy.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9c205a53..b8b3d8c3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -140,8 +140,8 @@ jobs: name: 🚀 Deploy runs-on: ubuntu-22.04 needs: [lint, typecheck, vitest, playwright] - environment: production - concurrency: production + environment: Production + concurrency: Production # only build/deploy branches on pushes if: ${{ github.event_name == 'push' }} @@ -165,14 +165,6 @@ jobs: - name: 🎈 Setup Fly uses: superfly/flyctl-actions/setup-flyctl@1.5 - - name: 🚀 Deploy Staging - if: ${{ github.ref == 'refs/heads/dev' }} - run: - flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} - --app ${{ steps.app_name.outputs.value }}-staging - env: - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} - - name: 🚀 Deploy Production if: ${{ github.ref == 'refs/heads/main' }} run: