We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 482970e commit 7291909Copy full SHA for 7291909
.github/workflows/deploy.yml
@@ -21,6 +21,7 @@ jobs:
21
steps:
22
- name: Checkout
23
uses: actions/checkout@v4
24
+ - run: python3 generate.py
25
- run: mkdir dist && mv *.html dist
26
- name: Upload artifact
27
uses: actions/upload-pages-artifact@v3
generate.py
@@ -0,0 +1,11 @@
1
+import sys
2
+
3
4
+def page(slug, url):
5
+ with open(slug + ".html", "w") as sys.stdout:
6
+ print(f"<meta http-equiv='refresh' content='0;url={url}' />")
7
8
9
+page("index", "https://github.com/libmath/math/issues/1")
10
+page("wiki", "https://github.com/libmath/z/wiki")
11
+page("stack", "https://github.com/libmath/math/issues/1")
index.html
stack.html
wiki.html
0 commit comments