Skip to content

Commit

Permalink
Using env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
danielflower committed Dec 21, 2024
1 parent dad646f commit 758e59e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<site>
<id>gh-pages</id>
<url>scm:git:https://${GH_TOKEN}@github.com/danielflower/multi-module-maven-release-plugin.git</url><!-- or scm:git:ssh://[email protected]/username/tomcat-foo-artifact.git -->
<id>github</id>
<url>scm:git:https://github.com/danielflower/multi-module-maven-release-plugin.git</url>
</site>
</distributionManagement>

Expand Down

0 comments on commit 758e59e

Please sign in to comment.