File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 8484 shell : bash
8585 working-directory : " ./code-for-e2e-tests"
8686 run : |
87- echo "::group::Run Playwright tests"
8887 npm run e2e
89- EXIT_STATUS=$?
90- echo "::endgroup::"
91- exit $EXIT_STATUS
9288
9389 - name : Run Playwright tests (cross browser)
9490 if : ${{ inputs.cross_browser == 'true' }}
Original file line number Diff line number Diff line change 1414
1515jobs :
1616 hydrate :
17- name : " Hydrate content-cache in (${{inputs.environment}})"
17+ name : " Hydrate in (${{inputs.environment}})"
1818 runs-on : ubuntu-latest
1919 environment :
2020 name : ${{ inputs.environment }}
@@ -23,18 +23,13 @@ jobs:
2323 id-token : write
2424 contents : read
2525 steps :
26- - name : " Check ref:${{github.ref}} is a tag"
27- run : |
28- if ${{ !startsWith(github.ref, 'refs/tags/') }}; then
29- echo "❌ Only tagged deployments allowed."
30- exit 1
31- fi
3226 - name : " Configure AWS credentials"
3327 uses : aws-actions/configure-aws-credentials@v5
3428 with :
3529 role-session-name : GitHubActionsSession
3630 role-to-assume : ${{ secrets.IAM_ROLE }}
3731 aws-region : ${{ env.AWS_REGION }}
32+
3833 - name : " Run content-cache-hydrator"
3934 run : |
4035 aws lambda invoke --function-name ${AWS_CONTENT_CACHE_HYDRATOR_LAMBDA} response.json || {
You can’t perform that action at this time.
0 commit comments