Skip to content

Commit

Permalink
Check baseURL for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Nov 20, 2024
1 parent a18e30a commit 8c95573
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ jobs:
echo "Contents of the public directory:"
ls -R public
- name: Check Base URL in Generated HTML
if: github.event.action != 'closed'
run: |
echo "Checking base URL in generated HTML files:"
grep -r "https://${{ github.repository_owner }}.github.io/${{ github.repository }}/pr-preview/pr-${{ github.event.number }}/" public || echo "Base URL not found in some files"
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@v1
with:
Expand Down

0 comments on commit 8c95573

Please sign in to comment.