Member-only story

CD using Netlify & Bitbucket

Visakh Vijayan
1 min readFeb 13, 2021

--

This is a quick summary of how to deploy your project to Netlify. Just mentioning the steps due to time constraints.

  1. Go to https://www.netlify.com/ and create an account.
  2. Once inside, connect your account using bitbucket. Grant access and select the repository you want to be deployed. Whenever you push to your master branch a webhook is triggered and Netlify builds and deploys it that commit.
  3. Modify the build command. It will show yarn initially. Use the below command if you are using ReactJs with npm.
  4. CI= npm run build. // No spaces after CI
  5. Trigger a deployment from the Site overview tab.
  6. Go to domain settings if you want to use a custom name. For free accounts, it will come as *.netlify.app
  7. Code. Commit and then Wait for it to deploy. On the deploy tab, you can see the logs if anything failed.

If you need more customization you can use Zapier at https://zapier.com/.

Hope it works. Enjoy.

--

--

Visakh Vijayan
Visakh Vijayan

Written by Visakh Vijayan

Techie from Kerala, India. Days are for coding, nights for weaving tales of tech, travel, and finance. Join me in exploring this multifaceted journey

No responses yet