enhancing 'cm pull repo' based on user feedback (#1362) #4
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: Publish documentation site | |
on: | |
release: | |
types: [published] | |
push: | |
branches: | |
- master | |
- docs | |
paths: | |
- docs/** | |
- mkdocs.yml | |
jobs: | |
publish: | |
name: Publish the site | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository normally | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Mkdocs | |
run: pip install -r docs/requirements.txt | |
- name: Run Mkdocs deploy | |
run: mkdocs gh-deploy --force |