Skip to content

Commit

Permalink
Switch CI git user again (#66)
Browse files Browse the repository at this point in the history
* ci: switch git user again

Documentation publishing is still not authorized.
Looks like the authorized user account might be stored in the repository variables.

* ci: retrieve GitHub action variables from the correct context
  • Loading branch information
matrei authored Jan 22, 2025
1 parent 4c2de6b commit 6bb8c07
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: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.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: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.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 6bb8c07

Please sign in to comment.