We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687a65c commit 10e15ebCopy full SHA for 10e15eb
.github/workflows/deploy-readme.yml
@@ -0,0 +1,29 @@
1
+name: Deploy README as Homepage
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - README.md
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: 🧾 Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: 🏗️ Install Pandoc
17
+ run: sudo apt-get update && sudo apt-get install -y pandoc
18
19
+ - name: 📄 Convert README.md to index.html
20
+ run: pandoc README.md -o index.html
21
22
+ - name: 📤 Commit and push index.html
23
+ run: |
24
+ git config user.name "github-actions"
25
+ git config user.email "[email protected]"
26
27
+ git add index.html .nojekyll
28
+ git commit -m "Auto-update index.html from ZedGraph/README.md" || echo "No changes to commit"
29
+ git push
0 commit comments