fix: Disable invite button when email config is not set (#5022) #1504
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Frontend Deploy to Production | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- frontend/** | |
- .github/** | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
name: Run E2E Tests | |
environment: production | |
concurrency: | |
group: e2e-tests-prod | |
cancel-in-progress: true | |
steps: | |
- name: Cloning repo | |
uses: actions/checkout@v4 | |
- name: Run E2E tests against production | |
uses: ./.github/actions/e2e-tests | |
with: | |
e2e_test_token: ${{ secrets.E2E_TEST_TOKEN }} | |
slack_token: ${{ secrets.SLACK_TOKEN }} | |
environment: prod | |
deploy-production: | |
name: Deploy to Vercel Production | |
needs: run-tests | |
uses: ./.github/workflows/.reusable-frontend-deploy.yml | |
with: | |
gh_environment: production | |
npm_build_environment: prod | |
secrets: inherit | |
deploy-demo: | |
name: Deploy to Vercel Demo | |
needs: run-tests | |
uses: ./.github/workflows/.reusable-frontend-deploy.yml | |
with: | |
gh_environment: demo | |
npm_build_environment: prod | |
secrets: inherit |