From 4223729ae3ee6673abfa95800eb1699fd2c140fb Mon Sep 17 00:00:00 2001 From: Diegogtzt03 <65473367+Diegogtz03@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:00:15 -0600 Subject: [PATCH] chore: Update frontend_deploy.yml to include environment variables for Cypress tests --- .github/workflows/frontend_deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/frontend_deploy.yml b/.github/workflows/frontend_deploy.yml index c261787..da276f7 100644 --- a/.github/workflows/frontend_deploy.yml +++ b/.github/workflows/frontend_deploy.yml @@ -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()