Skip to content

Commit 82f7ee3

Browse files
authored
Merge pull request #29 from 040code/deployment
FIx #11 - Auto deployment via github pages
2 parents 70a4c18 + 232dee7 commit 82f7ee3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- '10'
4+
5+
before_script:
6+
- npm install -g gatsby-cli
7+
script:
8+
- npm run build
9+
deploy:
10+
provider: pages
11+
skip-cleanup: true
12+
github-token: "$GITHUB_TOKEN"
13+
local_dir: public
14+
keep-history: true
15+
name: "Travis Deploy"
16+
on:
17+
branch: master

0 commit comments

Comments
 (0)