File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,26 @@ jobs:
110
110
111
111
- name : Echo the output page URL
112
112
run : echo "Your site is live at ${{ steps.deployment.outputs.page_url }}"
113
+
114
+ commit-javadoc :
115
+ needs : build-javadoc
116
+ runs-on : ubuntu-latest
117
+ steps :
118
+ - name : Checkout repository
119
+ uses : actions/checkout@v3
120
+ with :
121
+ fetch-depth : 0
122
+
123
+ - name : Copy Javadocs to /doc folder
124
+ run : |
125
+ git config --global user.name "github-actions[bot]"
126
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
127
+ mkdir -p doc
128
+ cp -r processing4/build/javadoc/* doc/
129
+ git add doc/
130
+ if git diff-index --quiet HEAD; then
131
+ echo "No changes to commit"
132
+ else
133
+ git commit -m "Update Javadocs"
134
+ git push
135
+ fi
You can’t perform that action at this time.
0 commit comments