DeepMedia logo
Open Source
Search...

Other versions of this page

Improve this page on GitHub

Search

Github Packages

Add a new spec with githubSpec {}. It adds two mandatory properties, owner and repository, which are used to identify the GitHub repository.

In addition to this, it is also mandatory to authenticate to GitHub using your username and a personal access token. These can be added as secrets to the auth block, as shown below.

kotlin
deployer { // Common configuration... project.description.set("Handy tool to publish maven packages in different repositories.") githubSpec { // Identify the GitHub repository: deepmedia/MavenDeployer owner.set("deepmedia") repository.set("MavenDeployer") // Personal GitHub username and a personal access token linked to it auth.user.set(secret("GITHUB_USER")) auth.token.set(secret("GITHUB_TOKEN")) } // If needed, you can add other named specs. githubSpec("private") { ... } }

More

Subscribe to the DeepMedia Newsletter

The latest news about DeepMedia products, open source projects and software development at our company.

By clicking “Subscribe”, you agree that DeepMedia may use your email address to send you newsletters, including commercial communications, and to process your personal data for this purpose. You agree that DeepMedia may process said data using third-party services for this purpose in accordance with the DeepMedia Privacy Policy. You can revoke this consent at any time using the unsubscribe link included in each email or by writing at contact@deepmedia.io.