refactor: update README.md (#620) #38
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 Documentation | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.md" | |
- "docs/**" | |
- "mkdocs.yml" | |
# Also trigger on page_build, as well as release created events | |
page_build: | |
release: | |
types: # This configuration does not affect the page_build event above | |
- created | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: SetUp Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Update Contributing | |
run: cat CONTRIBUTING.md > docs/dev-guide/contributing.md | |
- name: Update Changelog | |
run: cat CHANGELOG.md > docs/about/changelog.md | |
- name: Update License | |
run: cat LICENSE > docs/about/license.md | |
- name: Install Dependencies | |
run: pip install mkdocs-material | |
- name: Publish Docs | |
run: mkdocs gh-deploy --force |