File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1313 JAVA_DISTRO : ' zulu'
14141515 USER_NAME : ' CDEvents Bot'
16+ USER_ID : ' cdevents-bot'
1617
1718jobs :
1819 release :
5253 git config --global user.email "${{ env.USER_EMAIL }}"
5354 git config --global user.name "${{ env.USER_NAME }}"
5455 git commit -a -m "Releasing version $VERSION"
55- git push origin main
56+ git remote set-url origin https://${{ env.USER_ID }}:${{ secrets.GH_BOT_TOKEN }}@github.com/${{ github.repository }}.git
57+ git push
5658
5759 - name : Release
5860 env :
6365 GPG_TTY=$(tty)
6466 export GPG_TTY
6567 ./mvnw --no-transfer-progress -B --file pom.xml \
66- -Drepository.url=https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \
68+ -Drepository.url=https://${{ env.USER_ID }}:${{ secrets.GH_BOT_TOKEN }}@github.com/${{ github.repository }}.git \
6769 -Dmaven.site.skip=true -Drelease=true deploy
You can’t perform that action at this time.
0 commit comments