Skip to content

Commit

Permalink
Use manual doc check
Browse files Browse the repository at this point in the history
Conflicts:
	.github/workflows/docs.yml
  • Loading branch information
CamLamb committed Sep 22, 2023
1 parent ed8e2c4 commit e67bcaf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dorny/paths-filter@v2
- name: Check if docs changed
id: changes
with:
filters: |
docs:
- 'docs/**'
run: |
git fetch origin main
git diff --quiet origin/main -- docs
echo ::set-output name=docs::$(test $? -ne 0 && echo 'true' || echo 'false')
- uses: actions/setup-python@v2
if: steps.changes.outputs.src == 'true'
if: steps.changes.outputs.docs == 'true'
with:
python-version: 3.x
- name: Install Poetry
if: steps.changes.outputs.src == 'true'
if: steps.changes.outputs.docs == 'true'
run: |
pip install -U pip
pip install poetry
poetry config virtualenvs.create false
poetry install --with docs
- name: Deploy to GitHub Pages
if: steps.changes.outputs.src == 'true'
if: steps.changes.outputs.docs == 'true'
run: poetry run mkdocs gh-deploy --force

0 comments on commit e67bcaf

Please sign in to comment.