File tree 1 file changed +39
-5
lines changed 1 file changed +39
-5
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,27 @@ jobs:
27
27
with :
28
28
name : updatesite
29
29
path : com.developer.nefarious.zjoule.updatesite/target/repository/
30
-
31
- documentation :
32
- # needs: deploy
30
+
31
+ release :
32
+ needs : release
33
33
runs-on : ubuntu-latest
34
34
# if: github.ref == 'refs/heads/main'
35
+ steps :
36
+
37
+ - name : Download updatesite
38
+ uses : actions/download-artifact@v3
39
+ with :
40
+ name : updatesite
35
41
42
+
43
+
44
+
45
+ javadoc :
46
+ needs : release
47
+ runs-on : ubuntu-latest
48
+ # if: github.ref == 'refs/heads/main'
36
49
steps :
50
+
37
51
- name : Checkout code
38
52
uses : actions/checkout@v3
39
53
52
66
- name : Upload JavaDoc
53
67
uses : actions/upload-artifact@v3
54
68
with :
55
- name : javadoc
56
- path : com.developer.nefarious.zjoule.plugin/target/reports/apidocs/
69
+ name : documentation
70
+ path : com.developer.nefarious.zjoule.plugin/target/reports/apidocs/
71
+
72
+ publish :
73
+ needs : javadoc
74
+ runs-on : ubuntu-latest
75
+ # if: github.ref == 'refs/heads/main'
76
+ permissions :
77
+ contents : write
78
+ steps :
79
+
80
+ - name : Download JavaDoc
81
+ uses : actions/download-artifact@v3
82
+ with :
83
+ name : documentation
84
+
85
+ # - name: Deploy to GitHub Pages
86
+ # uses: peaceiris/actions-gh-pages@v4
87
+ # with:
88
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
89
+ # publish_dir: .
90
+ # publish_dir: ./public
You can’t perform that action at this time.
0 commit comments