Skip to content

Commit

Permalink
moved action order in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierr committed Jan 17, 2024
1 parent 8abbd5d commit 1a24fed
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,6 @@ jobs:
- name: Render documentation from ttl
run: python sphinx/ttl_to_rst.py

- name: Commit updated documentation
run: |
cd ${GITHUB_WORKSPACE}
git config --global user.email "${GIT_USER_EMAIL}"
git config --global user.name "${GIT_USER_NAME}"
git config pull.rebase false
git add .
git commit -m "Automatic update of github pages"
git push origin master
- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
Expand All @@ -67,3 +57,13 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: sphinx/_build/html

- name: Commit updated documentation
run: |
cd ${GITHUB_WORKSPACE}
git config --global user.email "${GIT_USER_EMAIL}"
git config --global user.name "${GIT_USER_NAME}"
git config pull.rebase false
git add .
git commit -m "Automatic update of github pages"
git push origin master

0 comments on commit 1a24fed

Please sign in to comment.