1 parent af3a55e commit 6b47d37Copy full SHA for 6b47d37
1 file changed
.github/workflows/docs-preview.yml
@@ -26,8 +26,9 @@ jobs:
26
- name: Add package to PYTHONPATH
27
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
28
29
+ - name: Set fork site_url
30
+ run: |
31
+ sed -i "s|site_url:.*|site_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/|" mkdocs.yml
32
+
33
- name: Deploy
- run: >
- mkdocs gh-deploy --force
- --config-file mkdocs.yml
- -e site_url=https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
34
+ run: mkdocs gh-deploy --force
0 commit comments