Skip to content

Commit

Permalink
using readme.md for static site
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcrypto committed Aug 11, 2023
1 parent 704ff30 commit 1d0d2b6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pandoc
run: |
sudo apt-get update
sudo apt-get -y install pandoc
- name: Convert README.md to index.html
run: |
pandoc README.md -o index.html
echo "README.md converted to index.html"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
path: 'index.html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 1d0d2b6

Please sign in to comment.