Skip to content

Commit fe56edd

Browse files
fix: add necessary variable to the GHA workflow
1 parent b54cfed commit fe56edd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,15 @@ jobs:
6767

6868
- name: Build
6969
# You still need this for variables that aren't secrets, but better than nothing
70+
# See the kntminer-ci docs for details.
7071
env:
7172
GIT_USER: ${{github.actor}}
72-
GIT_PASSWORD: ${{github.GITHUB_TOKEN}}
7373
CI_NEW_RELEASE_VER: ${{github.event.inputs.NEW_RELEASE_VER}}
7474
CI_NEW_SNAPSHOT_VER: ${{github.event.inputs.NEW_SNAPSHOT_VER}}
7575
CI_TRIGGERING_EVENT: ${{github.event_name}}
76-
76+
GH_TOKEN: ${{ github.token }}
77+
GIT_PASSWORD: ${{github.GITHUB_TOKEN}}
78+
7779
# We reuse the general CI scripts in knetminer-common, see https://github.com/KnetMiner/knetminer-ci
7880
run:
7981
./ci-build-v2/java-maven/build.sh

0 commit comments

Comments
 (0)