Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
fixed indentation
  • Loading branch information
kggx authored May 17, 2024
1 parent 5ab706e commit 97d057a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:

push:
branches: ["main"]
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]

workflow_dispatch:

Expand All @@ -17,18 +18,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
with:
python-version: '3.12'

- name: Install module and requirements
run: pip install -e .

- name: Build documentation HTML
run: pdoc ./src/pyventim -o ./docs

- name: Deploy documentation
uses: actions/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
- name: Deploy documentation
uses: actions/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit 97d057a

Please sign in to comment.