File tree Expand file tree Collapse file tree 3 files changed +34
-136
lines changed
Expand file tree Collapse file tree 3 files changed +34
-136
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Deploy
4+
5+ # Controls when the action will run. Triggers the workflow on push or pull request
6+ # events but only for the master branch
7+ on :
8+ gollum # gollum is the github wiki
9+
10+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+ jobs :
12+ deploy :
13+ # The type of runner that the job will run on
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ node-version : [8.11.4]
18+ # Steps represent a sequence of tasks that will be executed as part of the job
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v1
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ # Runs a single command using the runners shell
26+ - name : Install and build
27+ run : npm install
28+
29+ - name : Deploy 🚀
30+ uses : JamesIves/github-pages-deploy-action@releases/v3
31+ with :
32+ ACCESS_TOKEN : ${{ secrets.ACCESS_TOKEN }}
33+ BRANCH : gh-pages # The branch the action should deploy to.
34+ FOLDER : dist # The folder the action should deploy.
Original file line number Diff line number Diff line change 77 "prestart" : " npm run make" ,
88 "start" : " (watchify index.js -o dist/bundle.js & cssnext -Uw index.css dist/bundle.css & serve ./dist -SJ)" ,
99 "predeploy" : " browserify index.js | uglifyjs -cm > dist/bundle.js && cssnext -cU index.css dist/bundle.css" ,
10- "deploy" : " gh-pages -d dist" ,
1110 "make" : " node build-make" ,
1211 "sync" : " node build-sync"
1312 },
3332 "domify" : " ^1.3.3" ,
3433 "ecosystem-docs" : " ^1.1.0" ,
3534 "fuzzaldrin" : " ^2.1.0" ,
36- "gh-pages" : " ^0.3.1" ,
37- "ghauth" : " ^3.0.0" ,
3835 "highlights" : " ^1.3.0" ,
3936 "insert-css" : " ^0.2.0" ,
4037 "language-css" : " atom/language-css" ,
You can’t perform that action at this time.
0 commit comments