Skip to main content

Deploy Checklist

Use this checklist whenever the docs site needs to be published again.

Before Deploying

  • Confirm changes are committed and pushed to GitHub.
  • Confirm the server can pull the repository.
  • Confirm Node.js is installed on the server.
  • Confirm Nginx is running.

Deploy Commands

If Nginx serves the static /var/www folder directly:

cd /root/home/StreetsDocs
git pull
npm install
npm run build
cp -r build/* /var/www/docs.nextgendevstudios.dev/
nginx -t
systemctl reload nginx

If the Discord RBAC gateway is enabled:

cd /root/home/StreetsDocs
git pull
npm install
npm run build
pm2 restart StreetsDocsRBAC --update-env

Final Checks

curl -I http://docs.nextgendevstudios.dev
curl -I https://docs.nextgendevstudios.dev

Both should return 200 OK or a valid redirect to HTTPS.

Browser Check

Open:

https://docs.nextgendevstudios.dev

The browser should show a valid lock icon and no privacy warning.