Skip to content

Commit

Permalink
chore: Update frontend_deploy.yml to include environment variables fo…
Browse files Browse the repository at this point in the history
…r Cypress tests
  • Loading branch information
Diegogtz03 committed Jun 13, 2024
1 parent a676d27 commit 4223729
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/frontend_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
with:
build: npm run build
start: npm start
working-directory: knowx
env:
CYPRESS_GITHUB_USERNAME: ${{ secrets.EMAIL_SERVER_USER }}
CYPRESS_GITHUB_PASSWORD: ${{ secrets.EMAIL_SERVER_PASSWORD }}
CYPRESS_COOKIE_NAME: "next-auth.session-token"
CYPRESS_SITE_NAME: ${{ secrets.NEXTAUTH_URL }}
CYPRESS_NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}

- name: Send Deploy Failure Message
if: failure()
Expand Down

0 comments on commit 4223729

Please sign in to comment.