Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KRM7 committed Aug 17, 2023
1 parent a7562f4 commit 2dd37f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ jobs:

- name: git-config
run: |
git config user.name ${{ github.repository_owner }}
git config user.email ${{ github.repository_owner }}@users.noreply.github.com
git config --global user.name ${{ github.repository_owner }}
git config --global user.email ${{ github.repository_owner }}@users.noreply.github.com
- name: update-api-docs
uses: actions/checkout@v3
with:
ref: gh-pages
fetch-depth: 0
- run: |
git rebase origin/master
sudo ./docs/api/generate_api_docs.sh
mv docs/api/sphinx-out/* docs/
sudo bash ./docs/api/generate_api_docs.sh
sudo mv docs/api/sphinx-out/* docs/
git commit --all --amend --no-edit
git push --force-with-lease
Expand Down

0 comments on commit 2dd37f3

Please sign in to comment.