Skip to content

Commit d8f5dde

Browse files
committed
use surge for travis deploy
1 parent bdff1f8 commit d8f5dde

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.travis.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,22 @@ cache:
55
directories:
66
- "node_modules"
77
script: yarn test && codecov && yarn storybook:export
8-
before_deploy:
9-
# Set up git user name and email
10-
- git config --local user.name "jscottsmith"
11-
- git config --local user.email "jscsmith@gmail.com"
128
deploy:
13-
provider: pages
14-
skip-cleanup: true
15-
github-token: GITHUB_TOKEN
9+
provider: surge
10+
project: build
11+
domain: react-scroll-parallax-v1.surge.sh
12+
on: dev
13+
# TODO: Fix this gh-pages deploy.
14+
# https://docs.travis-ci.com/user/deployment/pages/
15+
# https://github.com/travis-ci/dpl/pull/501/files
16+
# provider: pages
17+
# skip-cleanup: true
18+
# name: "jscottsmith"
19+
# email: "jscsmith@gmail.com"
20+
# github-token: GITHUB_TOKEN
1621
# committer-from-gh: true
17-
verbose: true
22+
# verbose: true
1823
# keep-history: true
19-
local-dir: build
20-
on:
21-
branch: dev
24+
# local-dir: build
25+
# on:
26+
# branch: dev

0 commit comments

Comments
 (0)