Skip to content

Commit 95b6bed

Browse files
committed
Added a step that installs pandoc and converts README.md to index.html before the GitHub Pages upload
1 parent ef3c39b commit 95b6bed

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/static.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
uses: actions/checkout@v4
3434
- name: Setup Pages
3535
uses: actions/configure-pages@v5
36+
- name: Convert README.md to index.html
37+
run: |
38+
sudo apt-get update
39+
sudo apt-get install -y pandoc
40+
pandoc README.md -s -o index.html --metadata title="Hytale Server Docker"
3641
- name: Upload artifact
3742
uses: actions/upload-pages-artifact@v3
3843
with:

0 commit comments

Comments
 (0)