Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 8, 2025
1 parent b29d0f5 commit cb2d93b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/.reusable-frontend-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
npm run bundle
echo ${{ github.sha }} > CI_COMMIT_SHA
npm install --global [email protected]
vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
# vercel --prod --token ${{ secrets.VERCEL_TOKEN }}
41 changes: 21 additions & 20 deletions .github/workflows/frontend-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,34 @@ on:
push:
branches:
- main
- ci/fix-frontend-deploy-workflow
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
# 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
# needs: run-tests
uses: ./.github/workflows/.reusable-frontend-deploy.yml
with:
gh_environment: production
Expand All @@ -39,7 +40,7 @@ jobs:

deploy-demo:
name: Deploy to Vercel Demo
needs: run-tests
# needs: run-tests
uses: ./.github/workflows/.reusable-frontend-deploy.yml
with:
gh_environment: demo
Expand Down

0 comments on commit cb2d93b

Please sign in to comment.