Skip to content

Commit 979ad0f

Browse files
committed
add redirect
1 parent 50bbe64 commit 979ad0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
run: |
2525
jupyter-book build tutorial-content/
2626
27+
- name: Add Redirect
28+
run: |
29+
cd ./tutorial-content/_build/html
30+
echo '<html><head><meta http-equiv="Refresh" content="0; url=https://climateestimate.net/content/getting-started.html"></head><body><p>Page has moved to <a href="https://climateestimate.net/content/getting-started.html">https://climateestimate.net/content/getting-started.html</a></p></body></html>' > getting-started.html
31+
2732
- name: Push to GitHub Pages
2833
uses: peaceiris/actions-gh-pages@v3
2934
with:

0 commit comments

Comments
 (0)