From 0153fe597792d9e1f2a991add611f32f77709825 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Thu, 25 Jun 2020 12:12:07 +0100 Subject: [PATCH] Add deploy checklist issue template --- .github/ISSUE_TEMPLATE/deploy.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 .github/ISSUE_TEMPLATE/deploy.md diff --git a/.github/ISSUE_TEMPLATE/deploy.md b/.github/ISSUE_TEMPLATE/deploy.md new file mode 100755 index 00000000..cd4a472b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/deploy.md @@ -0,0 +1,30 @@ +--- +name: Deploy Colouring London +about: Checklist for deploying an update +title: '' +labels: '' +assignees: '' + +--- + +Deploy checklist: + +- [ ] wait for CI to pass +- [ ] log on to VPN +- [ ] log in to staging, pull changes and build + + ssh staging.colouring.london + sudo su - colouringlondonstaging + cd /var/www/colouring-london + git pull + npm ci + npm run build + pm2 restart all + +- [ ] user acceptance test https://clstaging.casa.ucl.ac.uk/ +- [ ] log in to production, pull changes and build as for staging + +Optional steps: + +- [ ] run database migrations +- [ ] clear and rebuild tile cache