Skip to content

Commit 6b47d37

Browse files
committed
Second try
1 parent af3a55e commit 6b47d37

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/docs-preview.yml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ jobs:
2626
- name: Add package to PYTHONPATH
2727
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
2828

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+
2933
- name: Deploy
30-
run: >
31-
mkdocs gh-deploy --force
32-
--config-file mkdocs.yml
33-
-e site_url=https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/
34+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)