diff --git a/gradle/publish.gradle b/gradle/publish.gradle index 49e11e205..924df447f 100644 --- a/gradle/publish.gradle +++ b/gradle/publish.gradle @@ -2,11 +2,11 @@ apply plugin:"maven-publish" publishing { repositories { maven { - name 'Nexus' - url "https://nexus.ala.org.au/content/repositories/${project.version.endsWith('-SNAPSHOT') ? 'snapshots' : 'releases'}" + name 'GitHubPackages' + url uri("https://maven.pkg.github.com/atlasoflivingaustralia/fieldcapture") credentials { - username = System.getenv('TRAVIS_DEPLOY_USERNAME') - password = System.getenv('TRAVIS_DEPLOY_PASSWORD') + username = System.getenv('GITHUB_ACTOR') + password = System.getenv('GITHUB_TOKEN') } } }