Skip to content

Commit

Permalink
add 404 redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Fuchs committed Jul 17, 2023
1 parent 7858af4 commit 253a0d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
- name: Add redirect to stable doc
run: |
cp assets/redirect.html doc_build/index.html
cp assets/redirect.html doc_build/404.html
cp assets/README.md doc_build/README.md
sed -i "s/\[VERSION\]/$(python -c 'import flair;print(flair.__version__)')/g" doc_build/index.html
sed -i "s/\[VERSION\]/$(python -c 'import flair;print(flair.__version__)')/g" doc_build/404.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 253a0d7

Please sign in to comment.