Skip to content

Commit

Permalink
ドキュメントの生成はmasterでやる
Browse files Browse the repository at this point in the history
  • Loading branch information
medaka0213 committed Apr 7, 2024
1 parent 65ebc6b commit 75fe16b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,16 @@ jobs:
run: |
poetry build
- name: Test Generate docs
- name: Generate docs
run: |
cp ./readme.md ./docs_src/readme.md
poetry run sphinx-apidoc -f -o ./docs_src ./ddb_single
poetry run sphinx-build ./docs_src ./docs
- name: Publish github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./docs
clean: true
commit-message: Deploy as of ${{ github.sha }}
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,3 @@ jobs:
draft: false
prerelease: false
body: ${{ steps.tag_version.outputs.changelog }}

- name: Generate docs
run: |
cp ./readme.md ./docs_src/readme.md
poetry run sphinx-apidoc -f -o ./docs_src ./ddb_single
poetry run sphinx-build ./docs_src ./docs
- name: Publish github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./docs
clean: true
commit-message: Deploy as of ${{ github.sha }}

0 comments on commit 75fe16b

Please sign in to comment.