-
I constructed a settings.xml file for uploading files in the package registry through maven. For the USERNAME I entered my personal email address and for the password I used ${{ ** secrets.GITHUB_TOKEN }}**. This works fine. But I have not found a way to authenticate as my organisation. I tried the name, the display name and the email, nothing works (Access denied). I do not like to put my personal email address in the workflow file of my organistation. Is there a solution to authenticate as the organisation? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
oops, sorry, typo, you can use the name of the organisation. |
Beta Was this translation helpful? Give feedback.
-
Hello, I experienced same issue with my organization. I tried many things according this page https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages#installing-a-package but nothing happen. mvn deploy command couse this error: Failed to retrieve remote metadata com.artimetrik.isg:health-surveillance:0.0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.artimetrik.isg:health-surveillance:0.0.1-SNAPSHOT/maven-metadata.xml from/to github-nexus (https://maven.pkg.github.com/artimetrik/health-surveillance): Not authorized Could you help me please? |
Beta Was this translation helpful? Give feedback.
oops, sorry, typo, you can use the name of the organisation.