From 7fe19000433e5a0c9f57fbb6b36aa3591ae1e2ae Mon Sep 17 00:00:00 2001 From: ajgeiss0702 Date: Wed, 23 Feb 2022 09:00:35 -0700 Subject: [PATCH] try this --- .github/workflows/gradle.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 9d80c2d..f42d243 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -47,6 +47,8 @@ jobs: deploy: runs-on: ubuntu-latest environment: maven-repo-deploy + env: + REPO_TOKEN: ${{ secrets.REPO_TOKEN }} needs: build if: github.ref == 'refs/heads/master' steps: @@ -55,6 +57,6 @@ jobs: with: name: build-files - name: Deploy api with Gradle - run: './gradlew :api:publishMavenJavaPublicationToAjRepoRepository' + run: './gradlew :api:publish' - name: Deploy common with Gradle - run: './gradlew :common:publishMavenJavaPublicationToAjRepoRepository' \ No newline at end of file + run: './gradlew :common:publish' \ No newline at end of file