forked from vega/vega-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (45 loc) · 1.33 KB
/
docs.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Docs
on:
push:
branches:
- v4_17_0
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install Node dependencies
run: yarn install
# - name: Build
# run: yarn build
# - name: Setup Git remote
# run: ./scripts/setup-git-ci.sh
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Add schema repo
run: |
pushd ..
git clone https://github.com/vega/schema.git
popd
# - name: Check NPM deployment
# run: ./scripts/check-npm.sh
# - uses: actions/setup-node@v1
# with:
# registry-url: 'https://registry.npmjs.org'
- name: Prebuild website
run: yarn presite
# - name: Publish website
# uses: alex-page/[email protected]
# with:
# repo-token: ${{ secrets.GH_PAT }}
# site-directory: 'site/'
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.
# - name: Publish schema
# run: ./scripts/deploy-schema.sh