Skip to content

Commit 5948c81

Browse files
fix: deploy username/pw
1 parent a54cc2a commit 5948c81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-kontrakt.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
- name: Publish artifacts
2929
shell: bash
3030
run: |
31-
mvn deploy -e --batch-mode --file pom.xml -am -pl kontrakt -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true
31+
mvn deploy -e --batch-mode --settings ./.m2/settings.xml --file pom.xml -am -pl kontrakt -DtrimStackTrace=false -Dchangelist= -Dsha1= -Drevision=$NEW_VERSION -Dfile.encoding=UTF-8 -DdeployAtEnd=true
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
33+
GITHUB_USERNAME: x-access-token
34+
GITHUB_PASSWORD: ${{ secrets.GH_ACCESS_TOKEN }}
3435
NEW_VERSION: ${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)