Skip to content

Commit

Permalink
ci: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed May 26, 2024
1 parent 049af6b commit 2f67bde
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ name: 'docs'
on:
push:
branches:
- main
# - main

.jobs:
linux:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: buildthedocs/btd@v0
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: pip install sphinx
- name: Build Sphinx documentation
run: cd docs; make html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@master
with:
name: doc
path: doc/_build/html
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html

0 comments on commit 2f67bde

Please sign in to comment.