File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -104,4 +104,25 @@ jobs:
104104 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}
105105 ORG_GRADLE_PROJECT_signingInMemoryKeyId : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYID }}
106106 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
107- run : ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache
107+ run : ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache
108+
109+ - name : Upload docs
110+ uses : actions/upload-pages-artifact@v4
111+ with :
112+ path : build/dokka/html
113+
114+ deployDocs :
115+ name : Deploy snapshot docs
116+ needs : [ buildAndTest, publishSnapshot ]
117+ runs-on : ubuntu-latest
118+ if : ${{ github.ref == 'refs/heads/main' && endsWith(needs.buildAndTest.outputs.version, '-SNAPSHOT') }}
119+
120+
121+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
122+ permissions :
123+ pages : write # to deploy to Pages
124+ id-token : write # to verify the deployment originates from an appropriate source
125+
126+ steps :
127+ - name : Deploy docs
128+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments