From 065a69a475d4f62acad47e027ef218e2fc657944 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Mon, 16 Apr 2018 23:00:50 -0400 Subject: [PATCH] Keep CNAME on master, copy it on build to deploy --- CNAME | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..a93b265 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +transport.hallada.net \ No newline at end of file diff --git a/package.json b/package.json index 30f1b41..467b7a2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "start": "NODE_ENV=development ./node_modules/.bin/webpack-dev-server --mode development", - "build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production", + "build": "NODE_ENV=production ./node_modules/.bin/webpack --mode production && cp CNAME dist/", "deploy": "./node_modules/.bin/gh-pages -d dist --remote github", "lint": "./node_modules/.bin/tslint src/", "test": "echo \"Error: no test specified\" && exit 1"