File tree Expand file tree Collapse file tree 2 files changed +49
-3
lines changed
Expand file tree Collapse file tree 2 files changed +49
-3
lines changed Original file line number Diff line number Diff line change 55 branches : ["main"]
66 workflow_dispatch :
77
8+ permissions :
9+ contents : read
10+ id-token : write
11+ pages : write
12+
813env :
914 INSTANCE : ' Writerside/ar'
1015 DOCKER_VERSION : ' 2025.04.8412'
5661 artifacts/${{ steps.define-ids.outputs.artifact }}
5762 artifacts/report.json
5863 artifacts/${{ steps.define-ids.outputs.algolia_artifact }}
59- retention-days : 7
64+ retention-days : 7
65+ test :
66+ needs : build
67+ runs-on : ubuntu-latest
68+ steps :
69+ - name : Download artifacts
70+ uses : actions/download-artifact@v4
71+ with :
72+ name : docs
73+ path : artifacts
74+
75+ - name : Test documentation
76+ uses : JetBrains/writerside-checker-action@v1
77+ with :
78+ instance : ${{ env.INSTANCE }}
79+ deploy :
80+ environment :
81+ name : github-pages
82+ url : ${{ steps.deployment.outputs.page_url }}
83+ needs : [ build, test ]
84+ runs-on : ubuntu-latest
85+ steps :
86+ - name : Download artifacts
87+ uses : actions/download-artifact@v4
88+ with :
89+ name : docs
90+ path : artifacts
91+
92+ - name : Unzip artifact
93+ run : unzip -O UTF-8 -qq "artifacts/${{ needs.build.outputs.artifact }}" -d dir
94+
95+ - name : Setup Pages
96+ uses : actions/configure-pages@v4
97+
98+ - name : Package and upload Pages artifact
99+ uses : actions/upload-pages-artifact@v3
100+ with :
101+ path : dir
102+
103+ - name : Deploy to GitHub Pages
104+ id : deployment
105+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 22<!DOCTYPE ihp SYSTEM " https://resources.jetbrains.com/writerside/1.0/ihp.dtd" >
33
44<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 =" senwin-api " />
77 <instance src =" ar.tree" />
88</ihp>
You can’t perform that action at this time.
0 commit comments