From 60fdb5c091e118e92bb0141231a59cfae3394418 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Wed, 13 Mar 2024 23:41:54 +0000 Subject: [PATCH] docs: legacy release procedure --- README.md | 25 +++++++++++++++++++++++++ scripts/publish.sh | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d9c4c9d..d79213a0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,28 @@ +# Deprecation Notice + +This project is deprecated, however it still may receive maintenance updates. + +PRs for small fixes are more than welcome. + +## Deploying a new release + +```bash +cd ~/deployments/revite +git pull +git submodule update + +# check: +git status + +export REVOLT_SAAS_BRANCH=revite/main +export REMOTE=root@production +scripts/publish.sh + +# SSH in and restart revite: +ssh $REMOTE +tmux a -t 4 +``` + # Revite ## Description diff --git a/scripts/publish.sh b/scripts/publish.sh index e7e9b344..24e9e3e4 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -11,7 +11,7 @@ fi REMOTE_DIR=/root/deployments/revite # Post-install script -POST_INSTALL="pm2 restart revite" +POST_INSTALL="" # Assets export REVOLT_SAAS=https://github.com/revoltchat/assets