From f10aa7699b33c5762426256685f7519a03ed10b7 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Thu, 29 Feb 2024 00:02:51 +0000 Subject: Fix deploy script --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'deploy.sh') 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 -- cgit v1.2.3