Skip to content

Commit e27d432

Browse files
committed
add cname file hooks
1 parent 164cc82 commit e27d432

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ install:
99
- npm install
1010
- npm install cypress
1111
script:
12-
- npx sapper export
12+
- npm run export
13+
- npm run cname
1314
deploy:
1415
provider: pages
1516
skip_cleanup: true

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"dev": "sapper dev",
77
"build": "sapper build --legacy",
88
"export": "sapper export --legacy",
9+
"cname": "echo itme.jansolo.dev > __sapper__/build/CNAME",
910
"start": "node __sapper__/build",
1011
"cy:run": "cypress run",
1112
"cy:open": "cypress open",

0 commit comments

Comments
 (0)