Skip to content

Commit

Permalink
Reset db before deployment
Browse files Browse the repository at this point in the history
I have to admit I'm a bit scared of running db:reset, will need to double-check I'm definitely on the right server..
  • Loading branch information
dacook committed Nov 4, 2024
1 parent 49b3b4f commit 3423e1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/server-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Then setup new server. Ensure you have the correct secrets (current secrets are

## 3. Migration
### preparation
- [ ] new server: `bundle exec rake db:reset -e production`
- [ ] `deploy.yml -l x_prod2 -e "git_version=vX.Y.Z"` matching version with current prod
- [ ] old server: make a tiny data change to verify later (eg add `.` in meta description `/admin/general_settings/edit`)

Expand Down

0 comments on commit 3423e1f

Please sign in to comment.