Skip to content

Commit 00b1ce6

Browse files
committed
Add redirect file.
1 parent ca0d721 commit 00b1ce6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/docs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ jobs:
3434
- name: Build documentation
3535
run: sphinx-multiversion docs/source docs/build/html --keep-going --no-color
3636

37+
- name: Generate index.html for judge0.github.io/judge0-python.
38+
run: |
39+
echo '<!DOCTYPE html>
40+
<html>
41+
<head>
42+
<meta http-equiv="refresh" content="0; URL=master/index.html">
43+
</head>
44+
<body>
45+
<p>Redirecting to <a href="master/index.html">master/index.html</a></p>
46+
</body>
47+
</html>' > docs/build/html/index.html
48+
3749
- name: Upload artifacts
3850
uses: actions/upload-artifact@v4
3951
with:

0 commit comments

Comments
 (0)