Skip to content

Commit

Permalink
chore: Update GitHub Actions workflow for releasing and publishing pa…
Browse files Browse the repository at this point in the history
…ckage
  • Loading branch information
teles committed May 18, 2024
1 parent 9fd0c21 commit 33c2047
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ jobs:
npm version patch -m "Bump version to %s [skip ci]"
echo ::set-output name=VERSION::$(node -p "require('./package.json').version")
- name: Push changes
run: git push --follow-tags
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git remote set-url origin https://${{ secrets.GH_PAT }}@github.com/holly-sheets/holly-sheets.git
git push --follow-tags
env:
GH_PAT: ${{ secrets.GH_PAT }}
- name: Create Release
Expand Down

0 comments on commit 33c2047

Please sign in to comment.