Skip to content

Commit

Permalink
Run github-pages build only when changes are made to docs directory
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Joshi <[email protected]>
  • Loading branch information
joshiayush committed Nov 15, 2023
1 parent 86175c4 commit 73d2ae2
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,7 @@ permissions:
contents: write

jobs:
commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip install -r requirements.txt
- name: Adding executable permissions to manage.py
run: |
chmod +x ./tools/manage.py
- name: Converting IPython Notebooks to Markdowns
run: |
./tools/manage.py --generate-docs
- uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: docs
commit_options: '--amend --no-edit'
push_options: '--force'

build:
needs: commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 73d2ae2

Please sign in to comment.