Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get install -y pandoc

- name: Build site
run: |
rm -rf dist
mkdir -p dist
cp ./docs.html ./dist/index.html

pandoc README.md \
--from=gfm \
--to=html5 \
--standalone \
--metadata title="README" \
-o dist/index.html

cp ./logo.png ./dist/logo.png
cp ./docs.html ./dist/docs.html

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
Expand All @@ -40,3 +54,4 @@ jobs:
id: deployment
uses: actions/deploy-pages@v4


Loading