Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit 67b36a6

Browse files
committed
Update gradle.yml
1 parent 84a3790 commit 67b36a6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Publish to repo.grails.org
6161
id: publish
6262
uses: gradle/gradle-build-action@v2
63-
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
63+
if: steps.build.outcome == 'success' && github.event_name == 'push'
6464
env:
6565
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
6666
GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
@@ -71,7 +71,7 @@ jobs:
7171
arguments: -Dorg.gradle.internal.publish.checksums.insecure=true publish
7272
- name: Build Docs
7373
id: docs
74-
if: steps.build.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
74+
if: steps.build.outcome == 'success' && github.event_name == 'push'
7575
uses: gradle/gradle-build-action@v2
7676
env:
7777
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
@@ -80,16 +80,16 @@ jobs:
8080
with:
8181
arguments: docs:docs
8282
- name: Determine docs target repository
83-
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
83+
if: steps.docs.outcome == 'success' && github.event_name == 'push'
8484
uses: haya14busa/action-cond@v1
8585
id: docs_target
8686
with:
8787
cond: ${{ github.repository == 'grails/gorm-hibernate5' }}
8888
if_true: "grails/grails-data-mapping"
8989
if_false: ${{ github.repository }}
9090
- name: Publish to Github Pages
91-
if: steps.docs.outcome == 'success' && github.event_name == 'push' && matrix.java == '11'
92-
uses: micronaut-projects/github-pages-deploy-action@master
91+
if: steps.docs.outcome == 'success' && github.event_name == 'push'
92+
uses: micronaut-projects/github-pages-deploy-action@grails
9393
env:
9494
TARGET_REPOSITORY: ${{ steps.docs_target.outputs.value }}
9595
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)