Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Fix docs workflow path issue [skip ci]

Murtaza Nasir827fbc0e26d7
diff --git a/.github/workflows/docs1.yml b/.github/workflows/docs1.yml
index e5717624..9fc5d4f3 100644
--- a/.github/workflows/docs1.yml
+++ b/.github/workflows/docs1.yml
@@ -38,12 +38,11 @@ jobs:
env:
CI: true # This enables git-revision-date plugin in CI
run: |
- cd docs
# Update site_url for GitHub Pages if needed
if [ "${{ github.repository }}" != "murtaza-nasir/speakr" ]; then
- sed -i "s|site_url:.*|site_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}|" mkdocs.yml
+ sed -i "s|site_url:.*|site_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}|" docs/mkdocs.yml
fi
- mkdocs build --strict --site-dir _site
+ mkdocs build --strict --config-file docs/mkdocs.yml --site-dir docs/_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3