Skip to content

Commit

Permalink
ci: switch git user again
Browse files Browse the repository at this point in the history
Documentation publishing is still not authorized.
Looks like the authorized user account might be stored in the repository variables.
  • Loading branch information
matrei committed Jan 9, 2025
1 parent 4c2de6b commit 2c3ffb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches:
- '[4-9]+.[0-9]+.x'
env:
GIT_USER_NAME: gpc-deploy
GIT_USER_EMAIL: [email protected]
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
jobs:
test_project:
name: "Test Project"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
release:
types: [published]
env:
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,6 +54,7 @@ jobs:
COMMIT_NAME: ${{ env.GIT_USER_NAME }}
FOLDER: build/docs/manual
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SKIP_SNAPSHOT: ${{ contains(steps.release_version.outputs.release_version, 'M') }}
VERSION: ${{ steps.release_version.outputs.release_version }}
- name: "⚙️ Run post-release"
if: steps.publish_to_sonatype.outcome == 'success'
Expand Down

0 comments on commit 2c3ffb8

Please sign in to comment.