try this
This commit is contained in:
@@ -47,6 +47,8 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: maven-repo-deploy
|
environment: maven-repo-deploy
|
||||||
|
env:
|
||||||
|
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
||||||
needs: build
|
needs: build
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
steps:
|
steps:
|
||||||
@@ -55,6 +57,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: build-files
|
name: build-files
|
||||||
- name: Deploy api with Gradle
|
- name: Deploy api with Gradle
|
||||||
run: './gradlew :api:publishMavenJavaPublicationToAjRepoRepository'
|
run: './gradlew :api:publish'
|
||||||
- name: Deploy common with Gradle
|
- name: Deploy common with Gradle
|
||||||
run: './gradlew :common:publishMavenJavaPublicationToAjRepoRepository'
|
run: './gradlew :common:publish'
|
||||||
Reference in New Issue
Block a user