mirror of
https://github.com/DerDavidBohl/dirigent-spring.git
synced 2026-01-06 00:40:07 -06:00
Use my Name to Push
This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
|
||||
git config --global user.signingkey "$GPG_KEY_ID"
|
||||
git config --global commit.gpgsign true
|
||||
git config --global user.name "GitHub Actions"
|
||||
git config --global user.name "David Bohl"
|
||||
git config --global user.email "david@davidbohl.org"
|
||||
env:
|
||||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||
@@ -61,8 +61,7 @@ jobs:
|
||||
# Tag pushen
|
||||
git push https://x-access-token:${GH_PAT}@github.com/${GITHUB_REPOSITORY}.git v${{ github.event.inputs.version }}
|
||||
env:
|
||||
GITHUB_GPG_KEY: ${{ env.GITHUB_GPG_KEY || 'default' }}
|
||||
GH_PAT: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_PAT: ${{ secrets.PUSH_PAT }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
GITHUB_REF_NAME: ${{ github.ref_name }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user