Perform migration from Drupal to Hugo in prod
Following up from #158, I need to track the deployment process so I don't forget a step.
- [x] Back up everything on existing www.jeffgeerling.com Droplet
- [x] Change every reference to `new.jeffgeerling.com` to `www.jeffgeerling.com` in Hugo and Ansible repos
- [x] Merge local hugo project directory into this project's `master` branch (no need to preserve history on my local working branch—it's a disaster :D)
- [x] Set Cloudflare into caching mode / 'Always online'
- [x] Rebuild www.jeffgeerling.com Droplet from new Ansible config (static site only)
- [ ] Deploy Hugo site to production Droplet
- [ ] Set Cloudflare into normal mode and test, test, test
- [ ] Make sure any new posts between Dec 28 and `time.now()` are added to the Hugo site
- [ ] Delete `new.jeffgeerling.com` droplet and DNS configurations once site is migrated to `www`
- [ ] Monitor logs for frequent 404s, that sort of thing (error.log especially) (maybe w/ [goaccess](https://goaccess.io))
- [ ] Check Munin to make sure stats are still loading in
- [ ] Test backup of new site to make sure that's also working
Once the site is deployed, here is some representative content for migration testing:
- https://www.jeffgeerling.com/blog/2023/how-raspberry-pis-are-made-factory-tour/ (spaces in image filenames)
- https://www.jeffgeerling.com/blog/2013/migrating-style-and-script/ (content was cut off)
- https://www.jeffgeerling.com/blog/2013/how-redirect-user-after-login/ (runon sentences, php embed)
- https://www.jeffgeerling.com/blogs/jeff-geerling/fixing-ssh-unknown-error-when (redirect)
- https://www.jeffgeerling.com/blog/2010/monopoly-vector-design/ (download .ai files)
4 条评论