Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Update build-and-push-image.yml (#752)
Browse files Browse the repository at this point in the history
* Update build-and-push-image.yml

* Update cypress.yml
  • Loading branch information
cshnimble authored Jun 13, 2024
1 parent 5acd411 commit 06d7a92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
environment: ${{ needs.set-env.outputs.environment }}
secrets:
AZURE_ENDPOINT: ${{ secrets.AZURE_ENDPOINT }}
CYPRESS_TEST_SECRET: ${{ secrets.CYPRESS_TEST_SECRET }}
AUTH_HEADER_CYPRESS: ${{ secrets.AUTH_HEADER_CYPRESS }}
CYPRESS_ACADEMISATION_API_URL: ${{ secrets.CYPRESS_ACADEMISATION_API_URL }}
CYPRESS_ACADEMISATION_API_KEY: ${{ secrets.CYPRESS_ACADEMISATION_API_KEY }}
DB_CONNECTION_STRING: ${{ secrets.DB_CONNECTION_STRING }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
secrets:
AZURE_ENDPOINT:
required: true
CYPRESS_TEST_SECRET:
AUTH_HEADER_CYPRESS:
required: true
CYPRESS_ACADEMISATION_API_URL:
required: true
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Run Cypress (${{ inputs.environment }})
if: inputs.environment == 'staging' || inputs.environment == 'dev'
run: npm run cy:run -- --env url='${{ secrets.AZURE_ENDPOINT }}',authorizationHeader='${{ secrets.CYPRESS_TEST_SECRET }}, academisationApiUrl=${{secrets.CYPRESS_ACADEMISATION_API_URL}}, academisationApiKey=${{ secrets.CYPRESS_ACADEMISATION_API_KEY}}'
run: npm run cy:run -- --env url='${{ secrets.AZURE_ENDPOINT }}',authorizationHeader='${{ secrets.AUTH_HEADER_CYPRESS }}, academisationApiUrl=${{secrets.CYPRESS_ACADEMISATION_API_URL}}, academisationApiKey=${{ secrets.CYPRESS_ACADEMISATION_API_KEY}}'
env:
db: ${{ secrets.DB_CONNECTION_STRING }}

Expand Down

0 comments on commit 06d7a92

Please sign in to comment.