Skip to content

Commit

Permalink
Merge branch 'docs-master' of https://github.com/ArunKhare/FraudDetec…
Browse files Browse the repository at this point in the history
…tion into docs-master
  • Loading branch information
ArunKhare committed Jan 16, 2024
2 parents 91a50b9 + 6c8fae7 commit a03e653
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-to-git-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser
pip install sphinx sphinx_rtd_theme
- name: Sphnix autoapi
run: |
sphinx-apidoc --implicit-namespaces -o docs/source . snowflake
- name: Sphinx build
run: |
sphinx-build -E -a -c docs/source/_static -b html docs/source docs/build
Expand All @@ -22,6 +25,6 @@ jobs:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.PUBLISH_DOCS }}
github_token: ${{ secrets.GITHUB-TOCKEN }}
publish_dir: docs/build/html/index.html
force_orphan: true

0 comments on commit a03e653

Please sign in to comment.