Full Stack Development

Continuous Deployment (CD)



by Tomas Trescak t.trescak@westernsydney.edu.au

CD

/

Introduction

  • Picture this : instant, safe deploys
  • Why it matters : speed and reliability
  • 👺 Myth : It's reckless!

CD

/

Preview vs Production with Git

  • Git branch = Preview Deploy
    • Branch : feature/date-filter
  • DNS Magic: Auto-subdomains
    • URL : date-filter.feature.myblogapp.com
  • Merge to Main = Production Deploy
    • URL : myblogapp.com

CD

/

vercel.com

CD

/

vercel.com

CD

/

vercel.com

CD

/

Vercel: Pros, Cons and Alternatives

  • Advantages : Fast, Reliable, "Free"
  • Disadvantages : Less control, Expensive
  • Alternatives:
    • Netlify : Static Simplicity
    • Heroku : Dynamic Power
    • GitHub Actions : DIY Control

CD

/

Wrap Up

  • Key Takeaway: CD = Speed + Safety
  • Best Practice: Test First
  • Pitfall: Don’t Overcomplicate