File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+ on :
3+ # Trigger the workflow on push or pull request,
4+ # but only for the main branch
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ build :
11+ name : Deploy ReactSketchCanvas documentation
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout repo
17+ uses : actions/checkout@v2
18+
19+ - name : Use Node 14.x
20+ uses : actions/setup-node@v2
21+ with :
22+ node-version : 14.x
23+
24+ - name : Install Yarn
25+ run : npm install -g yarn
26+
27+ - name : Install deps and build (with cache)
28+ run : yarn install --frozen-lockfile --silent
29+
30+ - name : Build documentation
31+ run : yarn build:example
32+
33+ - name : Deploy Documentation 🚀
34+ uses : JamesIves/github-pages-deploy-action@4.1.4
35+ with :
36+ branch : gh-pages
37+ folder : example/build
38+ clean : true
Original file line number Diff line number Diff line change 4242 " last 1 firefox version" ,
4343 " last 1 safari version"
4444 ]
45- }
45+ },
46+ "homepage" : " http://vinoth.info/react-sketch-canvas"
4647}
You can’t perform that action at this time.
0 commit comments