File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release NPM packages
2
+
3
+ env :
4
+ NODE_OPTIONS : --max-old-space-size=6144
5
+ NX_MAX_PARALLEL : 2
6
+
7
+ on :
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ deploy-docs :
12
+ name : ' [Merge] Deploy docs to GitHub Pages'
13
+ needs : release
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : read
17
+ actions : read
18
+ pages : write
19
+ id-token : write
20
+ environment :
21
+ name : github-pages
22
+ url : ${{ steps.deployment.outputs.page_url }}
23
+ steps :
24
+ - name : Check out the source code
25
+ uses : actions/checkout@v4
26
+ with :
27
+ fetch-depth : 0
28
+ - name : Setup
29
+ uses : ./.github/actions/setup
30
+ # Uses the cache generated in the distributed step
31
+ - name : Build docs
32
+ run : pnpm exec nx build docs-lumberjack-docs-app
33
+ - name : Set up GitHub Pages
34
+ uses : actions/configure-pages@v4
35
+ - name : Upload docs to GitHub Pages
36
+ uses : actions/upload-pages-artifact@v3
37
+ with :
38
+ path : dist/packages/docs/lumberjack-docs-app/
39
+ - name : Deploy docs to GitHub Pages
40
+ id : deployment
41
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments