Skip to content

Commit

Permalink
Push docs changes before deploying (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
kafkas committed Dec 25, 2023
1 parent 4a24097 commit da0c6d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
contents: write
pages: write
id-token: write

Expand All @@ -35,6 +35,13 @@ jobs:
run: npm install
- name: Generate docs for current version
run: npm run docs-generate
- name: Commit and Push Changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "Documentation Bot"
git add docs
git commit -m "Update docs"
git push
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit da0c6d8

Please sign in to comment.