-
Notifications
You must be signed in to change notification settings - Fork 1.7k
46 lines (42 loc) · 977 Bytes
/
docs-deploy.yml
File metadata and controls
46 lines (42 loc) · 977 Bytes
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
44
45
46
name: docs deploy.
on:
push:
branches:
- master
paths:
- "website/**/*"
- "docs/**/*"
pull_request:
branches:
- master
paths:
- "website/**/*"
- "docs/**/*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: github.repository =='DTStack/chunjun'
name: Deployment help document.
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
cache-dependency-path: website/yarn.lock
- name: build
working-directory: website
run: |
yarn install --frozen-lockfile
yarn build
yarn export
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/out