Skip to content

Commit

Permalink
[BUG] Manually commit changes to API docs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Oct 3, 2024
1 parent d39e5b4 commit 29f30e0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/generate_api_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
- name: "Checkout repository 🛎️"
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: "Set up Miniconda 🐍"
uses: conda-incubator/setup-miniconda@v3
Expand All @@ -44,9 +42,9 @@ jobs:
mv docusaurus-docs/static/openapi.json.formatted docusaurus-docs/static/openapi.json
- name: "Commit changes"
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Update REST API documentation (openapi.json)'
add: 'docusaurus-docs/static/openapi.json'
push: true
run:
git config user.name github-actions
git config user.email [email protected]
git add docusaurus-docs/static/openapi.json
git commit -m 'Update REST API documentation (openapi.json)'
git push

0 comments on commit 29f30e0

Please sign in to comment.