File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 5959 MAVEN_PUBLISH_URL : ' https://repo.grails.org/artifactory/plugins3-snapshots-local'
6060 run : ./gradlew publish
6161 - name : " 📖 Generate Snapshot Documentation"
62+ if : ${{ hashFiles('src/main/asciidoc/**') != '' }}
6263 run : ./gradlew docs
6364 - name : " 📤 Publish Snapshot Documentation to Github Pages"
65+ if : ${{ hashFiles('src/main/asciidoc/**') != '' }}
6466 uses : apache/grails-github-actions/deploy-github-pages@asf
6567 env :
6668 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -118,8 +118,10 @@ jobs:
118118 findSonatypeStagingRepository
119119 releaseSonatypeStagingRepository
120120 - name : " 📖 Generate Documentation"
121+ if : ${{ hashFiles('src/main/asciidoc/**') != '' }}
121122 run : ./gradlew docs
122123 - name : " 📤 Publish Documentation to Github Pages"
124+ if : ${{ hashFiles('src/main/asciidoc/**') != '' }}
123125 uses : apache/grails-github-actions/deploy-github-pages@asf
124126 env :
125127 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments