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 35
35
with :
36
36
name : jsonurl-maven-repository
37
37
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
38
48
39
49
matrix-build :
40
50
needs : artifact
@@ -105,7 +115,5 @@ jobs:
105
115
env :
106
116
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107
117
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
108
- - name : Collect debugging info
109
- run : ls -lR
110
118
111
119
Original file line number Diff line number Diff line change 90
90
<scmBranch >gh-pages</scmBranch >
91
91
<content >${project.reporting.outputDirectory} /apidocs</content >
92
92
<checkinComment >doc: update by maven-scm-publish-plugin</checkinComment >
93
+ <serverId >github</serverId >
93
94
<ignorePathsToDelete >
94
95
<ignorePathsToDelete >.gitignore</ignorePathsToDelete >
95
96
<ignorePathsToDelete >.gitattributes</ignorePathsToDelete >
You can’t perform that action at this time.
0 commit comments