aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Ramos2020-02-05 12:36:28 +0100
committerGuillermo Ramos2020-02-05 12:36:28 +0100
commit01143da6e79f26cfacefa0c17f225ccc88d15186 (patch)
treeec2760ccd2748d526da723361d67dcc613ff2cea
parent52b52c7b09a51af60a847d8956824f0dcae8c99b (diff)
downloadwaev-01143da6e79f26cfacefa0c17f225ccc88d15186.tar.gz
Deployment stuff
-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