Skip to content

Commit

Permalink
Merge pull request #1899 from dscho/github-workflows
Browse files Browse the repository at this point in the history
deploy(playwright): work around externally-enforced HTTPS
  • Loading branch information
ttaylorr authored Oct 7, 2024
2 parents 6740ecc + c22a1a5 commit b99865e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/deploy-to-github-pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ runs:
shell: bash
env:
PLAYWRIGHT_TEST_URL: ${{ steps.pages.outputs.base_url }}
run: npx playwright test --project=chrome
run: |
# avoid test failures when HTTPS is enforced half-way through
PLAYWRIGHT_TEST_URL="$(echo "$PLAYWRIGHT_TEST_URL" | sed 's/^http:/https:/')" &&
npx playwright test --project=chrome
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit b99865e

Please sign in to comment.