forked from dowjones/react-dropdown-tree-select
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 782 Bytes
/
docs.yml
File metadata and controls
36 lines (32 loc) · 782 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
name: Docs
on:
push:
branches: [main]
paths:
- 'docs/**'
- package.json
- README.md
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node JS
uses: actions/setup-node@v2
with:
node-version: 18.x
cache: yarn
- name: Build Docs 📚
run: |
# un-ignore bundle.js
mv docs/.gitignore .gitignore
yarn install --ignore-engines
yarn build:docs
- name: Deploy Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: docs