Skip to content

Commit

Permalink
trying another combo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Dec 19, 2023
1 parent d79dac5 commit ddf9a37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- uses: artiz/[email protected]
with:
url: https://pr-${{ github.event.number }}-documentation.appa.pantheon.site/githead.txt
url: https://pr-${{ github.event.number }}-documentation.appa.pantheon.site/githead-${{ github.event.pull_request.head.sha }}.txt
method: GET
expectStatus: 200
expectBody: ${{ github.event.pull_request.head.sha }}
Expand All @@ -48,6 +48,7 @@ jobs:
run: npx playwright install --with-deps



- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"scripts": {

"build": "echo $(git rev-parse HEAD) > static/githead.txt && gatsby build --prefix-paths --log-pages",
"build": "echo $(git rev-parse HEAD) > static/githead-$(git rev-parse HEAD).txt && gatsby build --prefix-paths --log-pages",
"develop": "gatsby develop",
"format": "prettier --write src/**/*.{js,jsx}",
"start": "npm run develop",
Expand Down

0 comments on commit ddf9a37

Please sign in to comment.