diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 9eb442ffbf..06cf6c82c8 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -1,10 +1,6 @@ name: Deployment on: - # build when pushing to main/develop, or create a release - push: - branches: [ main, develop ] - tags: [ cowswap-v*, explorer-v* ] workflow_dispatch: # Manually trigger it via UI/CLI/API inputs: app: @@ -18,21 +14,6 @@ on: jobs: - vercel-pre-prod: - # Deploys to Vercel staging environment only when there is a tag for CowSwap or Explorer - name: Vercel pre-prod - if: startsWith(github.ref, 'refs/tags') - uses: ./.github/workflows/vercel.yml - secrets: inherit - strategy: - matrix: - env_name: [ staging ] # deploys both in parallel - with: - env_name: ${{ matrix.env_name }} - # Pick app according to published tag - app: ${{ startsWith(github.ref, 'refs/tags/explorer') && 'EXPLORER' || 'COWSWAP' }} - disable_nx_cache: true - vercel-prod: # Deploys to Vercel prod environment name: Vercel prod @@ -49,7 +30,7 @@ jobs: notify-failure: name: Notify Slack on Failure - needs: [ vercel-pre-prod, vercel-prod ] + needs: [ vercel-prod ] runs-on: ubuntu-latest if: failure() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop')