File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : docs
2
+
3
+ on :
4
+ push :
5
+ paths : [ '**.java' ]
6
+
7
+ jobs :
8
+ api-website :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout the repo
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Set up the Java JDK
15
+ uses : actions/setup-java@v2
16
+ with :
17
+ java-version : ' 11'
18
+ distribution : ' adopt'
19
+
20
+ - name : Build docs with Maven
21
+ run : |
22
+ rm -rf doc/javadoc
23
+ mvn javadoc:javadoc
24
+
25
+ - name : Tidy up the javadocs
26
+ id : tidy
27
+
28
+ with :
29
+ path-to-root : doc/javadoc
30
+
31
+ - name : Log javadoc-cleanup output
32
+ run : |
33
+ echo "modified-count = ${{ steps.tidy.outputs.modified-count }}"
34
+
35
+ - name : Upload ftp
36
+ uses : sebastianpopp/ftp-action@releases/v2
37
+ with :
38
+ host : ${{ secrets.FTP_SERVER }}
39
+ user : ${{ secrets.FTP_USERNAME }}
40
+ password : ${{ secrets.FTP_PASSWORD }}
41
+ localDir : " doc/javadoc"
42
+ remoteDir : " /opt/LabConnect/doc/javadoc"
43
+ options : " --delete --asci"
You can’t perform that action at this time.
0 commit comments