Merge pull request #60 from sourcefuse/Storybook #122
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: Deploy docs to GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies | |
run: | | |
pip install mkdocs mkdocs-material | |
pip install mkdocs-techdocs-core | |
pip install mkdocs-include-markdown-plugin | |
pip install mkdocs-awesome-pages-plugin | |
- name: Deploy docs | |
run: | | |
mkdocs gh-deploy --force \ | |
--config-file mkdocs.yml \ | |
--remote-branch gh-pages \ | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |