summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorRaphael <mail@raphaelkabo.com>2024-02-28 23:57:52 +0000
committerGitHub <noreply@github.com>2024-02-28 23:57:52 +0000
commit66cd55e1e0d46d4ef67442f211f7b0ff9df2762e (patch)
tree2605d9b9be3e22abdefd89075b4a8a2187cb9a4a /deploy.sh
parent35398241dea769bd7554eaca0a9045801c847340 (diff)
parentd2a3d0272ed7725d0bc848267d560c468235507b (diff)
Merge pull request #137 from lowercasename/rk/docs
Add docs using MkDocs
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 1e78e86..01c8a1a 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -16,4 +16,9 @@ NODE_ENV=development pnpm install
# TypeScript and don't expect any more errors.
pnpm build || true
pm2 reload ecosystem.config.cjs production
-pm2 save
+pm2 save
+
+# Build the docs and deploy
+pip install mkdocs
+pip install mkdocs-material
+mkdocs build -d ~/gathio-docs \ No newline at end of file