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 8687287
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 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 }}
23 changes: 12 additions & 11 deletions .github/workflows/frontend-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- ci/fix-frontend-deploy-workflow
paths:
- frontend/**
- .github/**
Expand All @@ -18,19 +19,19 @@ jobs:
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
# - 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 8687287

Please sign in to comment.