Documentation: Use checkout-v2, remove setup-node
This commit is contained in:
parent
630f47da92
commit
47276997e3
9
.github/workflows/build-docs.yml
vendored
9
.github/workflows/build-docs.yml
vendored
@ -25,12 +25,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
checks:
|
checks:
|
||||||
if: github.event_name != 'push'
|
if: github.event_name != 'push'
|
||||||
|
name: Build Documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: '12.x'
|
|
||||||
|
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
@ -51,9 +49,10 @@ jobs:
|
|||||||
yarn build
|
yarn build
|
||||||
gh-release:
|
gh-release:
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
name: Deploy Documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Add key to allow access to repository
|
- name: Add key to allow access to repository
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user