We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c8397 commit 0a345a6Copy full SHA for 0a345a6
.github/workflows/pages.yml
@@ -16,16 +16,23 @@ jobs:
16
uses: actions/setup-node@v1
17
with:
18
node-version: '10.14'
19
+ - name: Cache Node.js modules
20
+ uses: actions/cache@v2
21
+ with:
22
+ path: ~/.npm
23
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
24
+ restore-keys: |
25
+ ${{ runner.os }}-node-
26
- name: Get Tag
27
id: tag
- run: |
- echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
28
+ uses: dawidd6/action-get-tag@v1
29
- name: Generate Docs
30
run: |
31
echo $SOURCE_TAG
32
+ npm ci
33
npm run release_docs
34
env:
- SOURCE_TAG: ${{ steps.tag.outputs.SOURCE_TAG }}
35
+ SOURCE_TAG: ${{ steps.tag.outputs.tag }}
36
- name: Deploy
37
uses: peaceiris/[email protected]
38
0 commit comments