aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/prod.exs2
-rwxr-xr-xscripts/deploy.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/config/prod.exs b/config/prod.exs
index 6033a19..b800a52 100644
--- a/config/prod.exs
+++ b/config/prod.exs
@@ -10,7 +10,7 @@ use Mix.Config
# which you should run after static files are built and
# before starting your production server.
config :waev, WaevWeb.Endpoint,
- url: [host: "example.com", port: 80],
+ url: [host: "waev.gramos.me", port: 80],
cache_static_manifest: "priv/static/cache_manifest.json"
# Do not print debug messages in production
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
new file mode 100755
index 0000000..dac5e43
--- /dev/null
+++ b/scripts/deploy.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+npm run deploy --prefix ./assets/
+mix phx.digest