-
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 957 Bytes
/
user-manual.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: user-manual
on:
workflow_call:
inputs:
runs-on:
type: string
default: ubuntu-latest
outputs:
run-id:
value: ${{github.run_id}}
workflow_dispatch:
inputs:
runs-on:
type: string
default: ubuntu-latest
jobs:
build:
runs-on: ${{ inputs.runs-on }}
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
with:
repository: ctlcltd/e2se-site
path: e2se-site
- name: NPM install
working-directory: ${{github.workspace}}/e2se-site/src
run: npm install
- name: Build user-manual
working-directory: ${{github.workspace}}/e2se-site/src
run: |
npm run dist.help -- --dest=${{github.workspace}}/e2se-site/out/
- name: Archive user-manual artifact
uses: actions/upload-artifact@v4
with:
name: user-manual
path: ${{github.workspace}}/e2se-site/out