Skip to content

Commit 69925cf

Browse files
authored
Merge pull request #24 from stackgl/new_deploy
New deploy actions
2 parents 689f48f + 4621775 commit 69925cf

File tree

3 files changed

+34
-136
lines changed

3 files changed

+34
-136
lines changed

.github/workflows/deploy.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.

package-lock.json

Lines changed: 0 additions & 133 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
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
},
@@ -33,8 +32,6 @@
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",

0 commit comments

Comments
 (0)