What does deploy mean?
To deploy is to put the latest version of your code on the live site, so visitors see your changes. Many hosts build and check it first.
Last updated
In real life
Like a newspaper going to print: everything is checked and set, then the new edition goes out to every reader at once.
Try it yourself
The demo deploys a new section to a made-up bakery site: push, build, checks, live. Switch on a typo and the build fails, so the live site keeps the old version and visitors never see the broken change.
Deploy your latest change
The change: a new “Weekend specials” section on the home page.
- Push the commit to GitHub
- The host builds the site
- Checks pass
- The new version is live
rosas-bakery.example (what visitors see)
Rosa's Bakery
Fresh bread every morning
Live version: 1
Deploying puts your latest code on the live site. Hosts build and check it first, so a broken change stops before visitors see it. Try it with the typo on.
Deploy vs hosting
Hosting is the always-on place your site lives. Deploying is putting a new version there. You set up hosting once, and deploy every time you change something.
Common questions
How do automatic deploys work?
Many hosts watch your GitHub repository. When you push to the main branch, they build the site and put it live without you doing anything else. This site works that way.
What if a deploy goes wrong?
Most hosts keep earlier deploys, so you can switch back to the last good version in a click while you fix the problem.
Where you will use this
Quick check: Deploy
Question 1 of 3