diff --git a/.github/workflows/mvn-site.yml b/.github/workflows/mvn-site.yml index d4f082e72..fa39f36d3 100644 --- a/.github/workflows/mvn-site.yml +++ b/.github/workflows/mvn-site.yml @@ -22,4 +22,4 @@ jobs: git config --global user.name '${{ github.actor }}' git config --global user.email '${{ github.actor }}@users.noreply.github.com' mvn install - mvn site:site site:stage scm-publish:publish-scm -Dpassword=${{ secrets.GITHUB_TOKEN }} + mvn site:site site:stage scm-publish:publish-scm -Dgithub.actor=${{ github.actor } -Dgithub.token=${{ secrets.GITHUB_TOKEN }} diff --git a/pom.xml b/pom.xml index 2dc451dbb..d9869560c 100644 --- a/pom.xml +++ b/pom.xml @@ -137,6 +137,8 @@ 1.8 siom79 japicmp + siom79 + secret false 3.6.3 1.4.1 @@ -400,7 +402,7 @@ - scm:git:https://github.com/${github.account}/${github.project}.git + scm:git:https://${github.actor}:${github.token}@github.com/${github.account}/${github.project}.git scm:git:https://github.com/${github.account}/${github.project}.git https://github.com/${github.account}/${github.project}.git japicmp-base-0.15.7