summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-02-29 00:02:51 +0000
committerRaphael Kabo <raphaelkabo@hey.com>2024-02-29 00:02:51 +0000
commitf10aa7699b33c5762426256685f7519a03ed10b7 (patch)
treed31d9db02f11f4188d789e1be9cc669f977643f9 /deploy.sh
parent9a2c9fcdf92ca5c9686b98725d51d953550a6cba (diff)
Fix deploy script
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index f530f78..9d41e63 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -2,6 +2,7 @@
set -e
# Set up and redeploy Gathio. Called by `pm2 deploy`.
+# Working directory is the root of the repo.
# PM2 doesn't load the user env, so this gets nvm into the PATH
export NVM_DIR=~/.nvm
@@ -19,4 +20,4 @@ pm2 reload ecosystem.config.cjs production
pm2 save
# Build the docs and deploy
-mkdocs build -d ~/gathio-docs \ No newline at end of file
+mkdocs build -d /var/www/docs.gath.io \ No newline at end of file