This commit is contained in:
ajgeiss0702
2022-02-23 09:00:35 -07:00
parent 7e9e4c84da
commit 7fe1900043
+4 -2
View File
@@ -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'