File tree Expand file tree Collapse file tree 4 files changed +14
-25
lines changed Expand file tree Collapse file tree 4 files changed +14
-25
lines changed Original file line number Diff line number Diff line change 1
1
name : Build Docs Artifacts
2
2
description : Builds the documentation artifacts including Docusaus, Sample App and Designer
3
+ inputs :
4
+ PERSONAL_ACCESS_TOKEN :
5
+ description : ' A Github PAT'
6
+ required : true
3
7
runs :
4
8
using : " composite"
5
9
steps :
41
45
42
46
- name : Download designer (v1)
43
47
env :
44
- NODE_AUTH_TOKEN : ${{secrets .PERSONAL_ACCESS_TOKEN}}
48
+ NODE_AUTH_TOKEN : ${{ inputs .PERSONAL_ACCESS_TOKEN }}
45
49
run : |
46
50
rm -rf package *.tgz
47
51
npm pack @public-ui/designer@^1
55
59
56
60
- name : Download sample react (v1)
57
61
env :
58
- NODE_AUTH_TOKEN : ${{secrets .PERSONAL_ACCESS_TOKEN}}
62
+ NODE_AUTH_TOKEN : ${{ inputs .PERSONAL_ACCESS_TOKEN }}
59
63
run : |
60
64
rm -rf package *.tgz
61
65
npm pack @public-ui/sample-react@^1
69
73
70
74
- name : Download designer (v2)
71
75
env :
72
- NODE_AUTH_TOKEN : ${{secrets .PERSONAL_ACCESS_TOKEN}}
76
+ NODE_AUTH_TOKEN : ${{ inputs .PERSONAL_ACCESS_TOKEN }}
73
77
run : |
74
78
rm -rf package *.tgz
75
79
npm pack @public-ui/designer@^2
83
87
84
88
- name : Download sample react (v2)
85
89
env :
86
- NODE_AUTH_TOKEN : ${{secrets .PERSONAL_ACCESS_TOKEN}}
90
+ NODE_AUTH_TOKEN : ${{ inputs .PERSONAL_ACCESS_TOKEN }}
87
91
run : |
88
92
rm -rf package *.tgz
89
93
npm pack @public-ui/sample-react@^2
Original file line number Diff line number Diff line change 1
1
name : Netlify Draft Deploy
2
2
3
- env :
4
- github-registry : https://npm.pkg.github.com
5
- github-token : ${{ secrets.GITHUB_TOKEN }}
6
- npmjs-registry : https://registry.npmjs.org
7
- scope : public-ui
8
- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9
-
10
3
on :
11
4
workflow_dispatch :
12
5
pull_request :
21
14
22
15
- name : Build Artifacts
23
16
uses : ./.github/actions/build-artifacts
17
+ with :
18
+ PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
24
19
25
20
- name : Netlify Deploy
26
21
uses : netlify/actions/cli@master
Original file line number Diff line number Diff line change 1
1
name : Netlify Test Deploy - Deploy main branch under fixed alias
2
2
3
- env :
4
- github-registry : https://npm.pkg.github.com
5
- github-token : ${{ secrets.GITHUB_TOKEN }}
6
- npmjs-registry : https://registry.npmjs.org
7
- scope : public-ui
8
- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9
-
10
3
on :
11
4
push :
12
5
branches :
22
15
23
16
- name : Build Artifacts
24
17
uses : ./.github/actions/build-artifacts
18
+ with :
19
+ PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
25
20
26
21
- name : Netlify Deploy
27
22
uses : netlify/actions/cli@master
Original file line number Diff line number Diff line change 1
1
name : Update GitHub page
2
2
3
- env :
4
- github-registry : https://npm.pkg.github.com
5
- github-token : ${{ secrets.GITHUB_TOKEN }}
6
- npmjs-registry : https://registry.npmjs.org
7
- scope : public-ui
8
- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9
-
10
3
on :
11
4
push :
12
5
branches :
34
27
35
28
- name : Build Artifacts
36
29
uses : ./.github/actions/build-artifacts
30
+ with :
31
+ PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
37
32
38
33
- name : Setup Pages
39
34
uses : actions/configure-pages@v5
You can’t perform that action at this time.
0 commit comments