File tree Expand file tree Collapse file tree 2 files changed +48
-3
lines changed Expand file tree Collapse file tree 2 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 5
5
branches : ["main"]
6
6
workflow_dispatch :
7
7
8
+ permissions :
9
+ id-token : write
10
+ pages : write
11
+
8
12
env :
9
13
INSTANCE : ' Writerside/hi'
10
14
ARTIFACT : ' webHelpHI2-all.zip'
32
36
name : docs
33
37
path : |
34
38
artifacts/${{ env.ARTIFACT }}
35
- retention-days : 7
39
+ artifacts/report.json
40
+ retention-days : 7
41
+ test :
42
+ needs : build
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - name : Download artifacts
46
+ uses : actions/download-artifact@v4
47
+ with :
48
+ name : docs
49
+ path : artifacts
50
+
51
+ - name : Test documentation
52
+ uses : JetBrains/writerside-checker-action@v1
53
+ with :
54
+ instance : ${{ env.INSTANCE }}
55
+ deploy :
56
+ environment :
57
+ name : github-pages
58
+ url : ${{ steps.deployment.outputs.page_url }}
59
+ needs : [build, test]
60
+ runs-on : ubuntu-latest
61
+ steps :
62
+ - name : Download artifacts
63
+ uses : actions/download-artifact@v4
64
+ with :
65
+ name : docs
66
+
67
+ - name : Unzip artifact
68
+ run : unzip -O UTF-8 -qq '${{ env.ARTIFACT }}' -d dir
69
+
70
+ - name : Setup Pages
71
+ uses : actions/configure-pages@v4
72
+
73
+ - name : Package and upload Pages artifact
74
+ uses : actions/upload-pages-artifact@v3
75
+ with :
76
+ path : dir
77
+
78
+ - name : Deploy to GitHub Pages
79
+ id : deployment
80
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 2
2
<!DOCTYPE ihp SYSTEM " https://resources.jetbrains.com/writerside/1.0/ihp.dtd" >
3
3
4
4
<ihp version =" 2.0" >
5
- <topics dir =" topics" web-path = " topics " />
6
- <images dir =" images" web-path =" images " />
5
+ <topics dir =" topics" />
6
+ <images dir =" images" web-path =" analysis-api " />
7
7
<categories src =" c.list" />
8
8
<vars src =" v.list" />
9
9
<instance src =" hi.tree" />
You can’t perform that action at this time.
0 commit comments