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 58707a9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 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 rsync -a docs/api/sphinx-out/ docs/
git commit --all --amend --no-edit
git push --force-with-lease
Expand All @@ -40,5 +41,6 @@ jobs:
rm -f wiki/*.md
cp docs/*.md wiki/
cd wiki
git commit --all --amend --no-edit
git add .
git commit --amend --no-edit
git push --force-with-lease

0 comments on commit 58707a9

Please sign in to comment.