Next.js 14 Deployment to VPS with GitHub Actions CI/CD
Channel: Raddy
Date: 11/12/2023

💰 Get $200 in DigitalOcean Credit: https://m.do.co/c/37fc3499bf36

Learn how to streamline your web development workflow by deploying Next.js 14 to a Virtual Private Server (VPS) effortlessly with the power of GitHub Actions Continuous Integration/Continuous Deployment (CI/CD).

My Notes ( + links and resources): https://raddy.dev/blog/how-to-deploy-nextjs-app-on-a-vps-using-github-actions/
DigitalOcean: https://m.do.co/c/37fc3499bf36

☕ BuyMeACoffee: https://www.buymeacoffee.com/RaddyTheBrand

Discounts:
⚡ Hostinger: https://www.hostg.xyz/aff_c?offer_id=408&aff_id=69300
⚡ SiteGround: https://www.siteground.com/index.htm?afcode=09595c7fe587c29769c4e54e3464a14f
⚡ Elementor: https://be.elementor.com/visit/?bta=26518&brand=elementor
⚡ DigitalOcean: https://m.do.co/c/37fc3499bf36

Recording Equipment:
◾ Microphone: https://amzn.to/3uX0yvP
◾ Shotgun Mic: https://amzn.to/3aRsSJb
◾ Camera: https://amzn.to/3IMumkx
◾ Lens: https://amzn.to/3ARxvh8
◾ Lighting: https://amzn.to/3PBetj2

Computer Gear:
◾ Keyboard: https://amzn.to/3RCXRcC
◾ Headphones: https://amzn.to/3aIvskX
◾ Mouse: https://amzn.to/3VfVuxO

Connect with me:
◾ Website:         https://www.raddy.dev
◾ Newsletter:    https://www.raddy.co.uk/newsletter

Chapters:
◾ 0:00 Introduction: 
◾ 0:34 Plan
◾ 2:28 Project Setup
◾ 5:48 ENV
◾ 8:08 VPS Setup
◾ 13:11 Reserved IP
◾ 13:54 SSH
◾ 16:34 Updates + New User
◾ 19:25 Installing NodeJS + PM2
◾ 22:55 Action Runner Setup
◾ 27:06 Work Flow
◾ 30:06 PM2
◾ 41:50 Domain
◾ 44:17 Nginx
◾ 48:52 SSL
◾ 51:04 Final Build
◾ 52:11 Ending
 

#nextjs #vps #ubuntu