Skip to content

Commit 7ce5139

Browse files
Performing new publishing test on github pages
1 parent 1296322 commit 7ce5139

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/workflow.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@ jobs:
1818
git config --global user.name "Matheus Ribeiro"
1919
git config --global user.email "[email protected]"
2020
21+
- name: Fix paths for GitHub Pages
22+
run: |
23+
find . -type f -name "*.html" -exec sed -i 's|src="lib/|src="/facial-recognition/lib/|g' {} +
24+
find . -type f -name "*.js" -exec sed -i 's|src="lib/|src="/facial-recognition/lib/|g' {} +
25+
2126
- name: Deploy to GitHub Pages
2227
uses: peaceiris/actions-gh-pages@v3
2328
with:
2429
github_token: ${{ secrets.GITHUB_TOKEN }}
25-
publish_dir: ./
26-
nojekyll: true
30+
publish_dir: ./
31+
nojekyll: true

0 commit comments

Comments
 (0)