Skip to content

Commit

Permalink
Build Sphinx Docs before trying to copy anything to prevent errors 🤞🏻
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidz00 committed Jan 13, 2025
1 parent 8190826 commit 7662afe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
echo "Unknown branch or tag" && exit 1
fi
- name: Copy CNAME to build
run: |
cp CNAME docs/_build/${{ env.VERSION }}
- name: Build Sphinx Docs
env:
PYTHONPATH: ${{ github.workspace }}
run: make docs-version VERSION=${{ env.VERSION }}

- name: Copy CNAME to build
run: |
cp CNAME docs/_build/${{ env.VERSION }}
- name: Generate switcher.json
run: |
cat <<EOF > generate_switcher.py
Expand Down

0 comments on commit 7662afe

Please sign in to comment.