drop minimize until its determined its actually helpful #12
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 | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'docs/**' | |
permissions: | |
contents: write | |
jobs: | |
deploy-docs: | |
name: Build Docs | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install deps | |
run: pip install -r requirements.txt | |
- name: Build Site | |
run: mkdocs build --strict --clean | |
- name: Deploy Docs | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./site | |
cname: scopie.dev |