diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 82957040..73c99f26 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -27,8 +27,8 @@ jobs:
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
MAVEN_GPG_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish documentation
run: mvn scm-publish:publish-scm
env:
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/pom.xml b/pom.xml
index 6c8c7b79..8fcd50e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -377,8 +377,8 @@
https://oss.sonatype.org/service/local/staging/deploy/maven2/
- gh-pages
- scm:git:https://${GH_TOKEN}@github.com/danielflower/multi-module-maven-release-plugin.git
+ github
+ scm:git:https://github.com/danielflower/multi-module-maven-release-plugin.git