Browse Source

Keep CNAME on master, copy it on build to deploy

Tyler Hallada 6 years ago
parent
commit
065a69a475
2 changed files with 2 additions and 1 deletions
  1. 1 0
      CNAME
  2. 1 1
      package.json

+ 1 - 0
CNAME

@@ -0,0 +1 @@
1
+transport.hallada.net

+ 1 - 1
package.json

@@ -5,7 +5,7 @@
5 5
   "private": true,
6 6
   "scripts": {
7 7
     "start": "NODE_ENV=development ./node_modules/.bin/webpack-dev-server --mode development",
8
-    "build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production",
8
+    "build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production && cp CNAME dist/",
9 9
     "deploy": "./node_modules/.bin/gh-pages -d dist --remote github",
10 10
     "lint": "./node_modules/.bin/tslint src/",
11 11
     "test": "echo \"Error: no test specified\" && exit 1"