move guidelines from rentry to mkdocs #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MkDocs Actions | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-github-pages: | |
name: Deploy to Github Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install mkdocs | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-material[imaging] | |
- name: Build MkDocs site | |
run: mkdocs build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GH_PAT }} | |
publish_branch: gh-pages | |
publish_dir: ./site | |
cname: smkdev-id.github.io |