File tree 6 files changed +222
-442
lines changed
6 files changed +222
-442
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy typedoc to Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
8
+
9
+ permissions : read-all
10
+
11
+ concurrency :
12
+ group : pages
13
+ cancel-in-progress : true
14
+
15
+ jobs :
16
+ deploy :
17
+ environment :
18
+ name : github-pages
19
+ url : ${{ steps.deployment.outputs.page_url }}
20
+ permissions :
21
+ contents : read
22
+ pages : write
23
+ id-token : write
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - name : Checkout tree
27
+ uses : actions/checkout@v4
28
+
29
+ - name : Set-up Node.js
30
+ uses : actions/setup-node@v4
31
+ with :
32
+ check-latest : true
33
+ node-version-file : .nvmrc
34
+
35
+ - run : corepack enable
36
+
37
+ - run : yarn install --immutable
38
+
39
+ - run : yarn typedoc
40
+
41
+ - name : Set-up Pages
42
+ uses : actions/configure-pages@v5
43
+
44
+ - name : Upload artifact
45
+ uses : actions/upload-pages-artifact@v3
46
+ with :
47
+ path : docs
48
+
49
+ - name : Deploy odoc to GitHub Pages
50
+ uses : actions/deploy-pages@v4
51
+ id : deployment
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ permissions: read-all
12
12
jobs :
13
13
release :
14
14
if : ${{ github.repository_owner == 'acacode' }}
15
- runs-on : ubuntu-latest
16
15
permissions :
17
16
contents : write # to create release
18
17
issues : write # to post issue comments
19
18
pull-requests : write # to create pull request
19
+ runs-on : ubuntu-latest
20
20
steps :
21
21
- name : Checkout tree
22
22
uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
1
/.yarn /
2
2
/dist /
3
+ /docs /
3
4
/node_modules /
You can’t perform that action at this time.
0 commit comments