Skip to content

Commit

Permalink
ci: configure git before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 3, 2024
1 parent f0632ec commit 0d8a8b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jobs:
NPM_CONFIG_PROVENANCE: true
- name: Update readme documentation
if: ${{ steps.release.outputs.release_created || github.event.inputs.publish == 'true' }}
run: npx tsx scripts/generateReadme.ts --commit --tag ${{steps.release.outputs.tag_name}} && git push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
npx tsx scripts/generateReadme.ts --commit --tag ${{steps.release.outputs.tag_name}} && git push
- name: Update GitHub pages documentation
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
if: ${{ github.ref == 'refs/heads/main' && (steps.release.outputs.release_created || github.event.inputs.publish == 'true') }}
Expand Down

0 comments on commit 0d8a8b4

Please sign in to comment.