From a98d1cc3443a110725a3ff2fe9de0bacff38aafc Mon Sep 17 00:00:00 2001
From: Jordan Eldredge
Date: Wed, 14 Mar 2018 20:42:33 -0700
Subject: [PATCH] Make built/ the deployed root
Also fixes cache-busting of all non-html assets.
---
.travis.yml | 4 +-
index.html | 22 ++--
package.json | 1 +
scripts/bust.sh | 3 -
webpack.config.js | 13 +-
webpack.production.config.js | 6 +-
yarn.lock | 228 +++++++++++++++++++++++++++++++++--
7 files changed, 247 insertions(+), 30 deletions(-)
delete mode 100755 scripts/bust.sh
diff --git a/.travis.yml b/.travis.yml
index f35808dc..d186fd69 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,10 +8,8 @@ script: >
# python node_modules/travis-weigh-in/weigh_in.py built/winamp.js.gz
after_success:
- bash <(curl -s https://codecov.io/bash)
-before_deploy:
- - rm .gitignore
- - ./scripts/bust.sh
deploy:
+ local-dir: "./built/"
verbose: true
provider: pages
skip-cleanup: true
diff --git a/index.html b/index.html
index 49c2085a..a84f00da 100755
--- a/index.html
+++ b/index.html
@@ -10,12 +10,12 @@
-
-
-
+
+
+
-
+
@@ -30,14 +30,14 @@
-
-
-
-
-
+
+
+
+
+
-
+
@@ -57,7 +57,7 @@
GitHub
-
+