Skip to content

Commit

Permalink
Update doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark authored May 6, 2024
1 parent 36823d3 commit 5c26e6d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ jobs:
- name: Copy context file to HTML directory
run: sudo cp context/context.json sphinx/_build/html/context/

- name: Commit changes
run: |
git config --local user.email "${{ env.GIT_USER_EMAIL }}"
git config --local user.name "${{ env.GIT_USER_NAME }}"
git add context/context.json
# Check for any changes to commit
git diff --staged --quiet || git commit -m "Update context.json file"
- name: Push changes
run: git push origin HEAD:master

- name: Fetch all tags and create version directories
run: |
git fetch --tags
Expand Down

0 comments on commit 5c26e6d

Please sign in to comment.