Skip to content

Commit

Permalink
ci: deploy PRs to surge
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteluke committed Nov 7, 2017
1 parent b5f939a commit ad70001
Show file tree
Hide file tree
Showing 3 changed files with 400 additions and 23 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ sudo: false
branches:
except:
- /^v\d/
after_success:
- make build
- surge-review
before_deploy: yarn predeploy
deploy:
provider: pages
skip_cleanup: true
local_dir: public
target_branch: master
fqdn: emdaer.me
github_token: $DEPLOY_GH_TOKEN
email: [email protected]
name: emdaerbot
github_token: $GH_TOKEN
email: $GH_EMAIL
name: $GH_USERNAME
on:
branch: site
node: 8.9
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
"gh-pages": "^1.0.0",
"husky": "^0.14.3",
"lint-staged": "^4.3.0",
"prettier": "^1.7.4"
"prettier": "^1.7.4",
"surge": "^0.19.0",
"surge-review": "^1.0.2"
},
"dependencies": {
"bootstrap": "4.0.0-beta",
Expand Down
Loading

0 comments on commit ad70001

Please sign in to comment.