File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- master
7
-
7
+
8
8
pull_request :
9
9
branches :
10
10
- master
11
-
11
+
12
12
release :
13
13
types : [created]
14
14
@@ -49,12 +49,26 @@ jobs:
49
49
# - name: Execute jacocoTestReport
50
50
# run: ./gradlew test jacocoTestReport && cp build/reports/jacoco/report.xml jacoco.xml || echo "Code coverage failed"
51
51
- name : Build with Gradle
52
- run : ./gradlew build --refresh-dependencies --no-daemon --continue
52
+ run : ./gradlew build asciidoctor --refresh-dependencies --no-daemon --continue
53
+ - name : Generate Changelog
54
+ uses :
heinrichreimer/[email protected]
55
+ with :
56
+ token : ${{ secrets.GITHUB_TOKEN }}
57
+ - name : Push Docs and Changelog
58
+ uses :
github-actions-x/[email protected]
59
+ with :
60
+ github-token : ${{ secrets.GITHUB_TOKEN }}
61
+ push-branch : ' master'
62
+ commit-message : ' Automatic docs and changelog generation'
63
+ force-add : ' true'
64
+ files : CHANGELOG.md docs/
65
+ name : ${{ github.actor }}
66
+ email : ${{ github.actor }}@users.noreply.github.com
53
67
# - name: Push codeCoverage to Codecov
54
68
# run: bash <(curl -s https://codecov.io/bash)
55
69
- name : Echo credentials
56
70
run : echo "bintrayUser=${{secrets.BINTRAY_USER}}" >> gradle.properties
57
71
- name : Echo credentials Key
58
- run : echo "bintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties && cat gradle.properties
72
+ run : echo "bintrayApiKey=${{secrets.BINTRAY_KEY}}" >> gradle.properties && cat gradle.properties
59
73
- name : Publish plugin
60
74
run : ./gradlew bintrayUpload
You can’t perform that action at this time.
0 commit comments