File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3535 with :
3636 name : jsonurl-maven-repository
3737 path : snapshot/*
38+ - name : Publish gh-pages
39+ if : |
40+ success()
41+ && github.repository_owner == 'jsonurl'
42+ && github.ref == 'refs/heads/master'
43+ # '-Dscmpublish.dryRun=true'
44+ run : >
45+ mvn '-Dscmpublish.checkinComment=doc: Update by action ${{ github.workflow }}.${{ github.job }}/${{ github.run_id }} on behalf of ${{ github.actor }} for ${{ github.event_name }} ${{ github.sha }}'
46+ '-Dscmpublish.pubScmUrl=scm:git:https://github.com/${{ github.repository }}.git'
47+ -B -Ppublish-javadoc-site javadoc:aggregate scm-publish:publish-scm
3848
3949 matrix-build :
4050 needs : artifact
@@ -105,7 +115,5 @@ jobs:
105115 env :
106116 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107117 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
108- - name : Collect debugging info
109- run : ls -lR
110118
111119
Original file line number Diff line number Diff line change 9090 <scmBranch >gh-pages</scmBranch >
9191 <content >${project.reporting.outputDirectory} /apidocs</content >
9292 <checkinComment >doc: update by maven-scm-publish-plugin</checkinComment >
93+ <serverId >github</serverId >
9394 <ignorePathsToDelete >
9495 <ignorePathsToDelete >.gitignore</ignorePathsToDelete >
9596 <ignorePathsToDelete >.gitattributes</ignorePathsToDelete >
You can’t perform that action at this time.
0 commit comments