File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,12 @@ permissions:
22
22
contents : write
23
23
24
24
jobs :
25
- release -site :
25
+ build -site :
26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- uses : actions/checkout@v5
29
+ with :
30
+ persist-credentials : false
29
31
- name : Set up JDK 11
30
32
uses : actions/setup-java@v5
31
33
with :
40
42
echo "Moving site for module $module to target/site"
41
43
mv $module/target/site target/site/$module
42
44
done
45
+ - uses : actions/upload-artifact@v4
46
+ with :
47
+ name : site
48
+ path : target/site
49
+ retention-days : 1
50
+
51
+ deploy-site :
52
+ runs-on : ubuntu-latest
53
+ needs : ['build-site']
54
+ steps :
55
+ - uses : actions/checkout@v5
56
+ with :
57
+ persist-credentials : true
58
+ - uses : actions/download-artifact@v5
59
+ with :
60
+ name : site
61
+ path : target/site
43
62
- name : Deploy to gh-pages
44
63
uses : JamesIves/github-pages-deploy-action@v4
45
64
with :
You can’t perform that action at this time.
0 commit comments