Skip to content

Commit

Permalink
come on man pleeeease
Browse files Browse the repository at this point in the history
  • Loading branch information
matronator committed Apr 22, 2024
1 parent 41bd681 commit 7c829db
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ jobs:
git config --global user.email "${{ secrets.EMAIL }}"
git config --global user.name "Matronator"
cd ./npm && npm version from-git --no-git-tag-version && npm publish
git checkout origin/main && git commit -am "Bump npm version" && git push
git checkout main && git fetch origin && git pull && git commit -am "Bump npm version" && git push origin main
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Push generated webpage to another repository
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
API_TOKEN_GITHUB: ${{ secrets.GITHUB_TOKEN }}
with:
source-directory: 'Formula'
destination-github-username: 'matronator'
destination-repository-name: 'homebrew-tap'
user-email: ${{ secrets.EMAIL }}
target-branch: main
target-directory: 'Formula'

0 comments on commit 7c829db

Please sign in to comment.