aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-20 23:37:57 +0100
committerTeddy Wing2018-11-20 23:37:57 +0100
commitfbd6b49453e413bf8c9aca0944928ee6574faf28 (patch)
treefda99f86b588d1de7e06378aa6129fe21a59b825
parent9742105d38ce4b42623394a6ab898312d310e686 (diff)
downloaddome-key-web-fbd6b49453e413bf8c9aca0944928ee6574faf28.tar.bz2
deployment: Use normal .htaccess instead of `production-config` one
When I removed the environment variables from the `.htaccess` file in 7d7ac8d747be198088664e45e5423919d9876651, it no longer needed a corresponding `production-config` counterpart. Use the one tracked in the repository instead.
-rwxr-xr-xscripts/deploy.sh1
-rwxr-xr-xscripts/post-deploy.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index a2bde7a..f95be1b 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -9,6 +9,7 @@ echo 'Deploying...'
rsync -avz \
--exclude 'assets/stylesheets' \
+ .htaccess \
400.html \
404.html \
assets \
diff --git a/scripts/post-deploy.sh b/scripts/post-deploy.sh
index 927ed70..d901e49 100755
--- a/scripts/post-deploy.sh
+++ b/scripts/post-deploy.sh
@@ -12,8 +12,6 @@ echo 'Moving files...'
mv "$REMOTE_PUBLIC_WWW/fulfillment" "$REMOTE_PUBLIC_WWW/fulfillment.fcgi"
mv "$REMOTE_PUBLIC_WWW/license" "$REMOTE_PUBLIC_WWW/license.fcgi"
-mv production-config/.htaccess "$REMOTE_PUBLIC_WWW"
-
echo 'Restarting FastCGI scripts...'
set +e