Skip to content

Commit

Permalink
🐛 Bugfix | Fix git issues on publish (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrosenbauer committed Sep 18, 2023
1 parent b1bae20 commit d9c05be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 🛒 Checkout Code
uses: actions/checkout@v1
Expand All @@ -28,8 +30,9 @@ jobs:
TAG: ${{ github.ref_name }}
- name: 💽 Commit changes version increment
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
git remote set-url origin "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/joggrdocs/fastify-prisma.git"
git add -A
git commit --no-verify -am "⚙️ Chore - update npm version in source to match tag [skip ci]"
git push origin HEAD:main
Expand Down

0 comments on commit d9c05be

Please sign in to comment.