Skip to content

Commit

Permalink
ci(actions): Update the GitHub Pages redirect and use it for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Oct 4, 2024
1 parent e1acd86 commit 0bb46ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
mkdir html
git fetch --all
python -I -m sphinx_multiversion -W docs html
cp assets/gh-pages-redirect.html html/index.html
- name: Upload the Docs
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions assets/gh-pages-redirect.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Redirecting to https://holzhaus.github.io/sphinx-multiversion/master/</title>
<title>Redirecting to https://sphinx-contrib.github.io/multiversion/main/</title>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; URL=https://holzhaus.github.io/sphinx-multiversion/master/index.html">
<link rel="canonical" href="https://holzhaus.github.io/sphinx-multiversion/master/index.html">
<meta http-equiv="refresh" content="0; URL=https://sphinx-contrib.github.io/multiversion/main/index.html">
<link rel="canonical" href="https://sphinx-contrib.github.io/multiversion/main/index.html">
</head>
</html>

0 comments on commit 0bb46ae

Please sign in to comment.