Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What really happens when you deploy a site on N...

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Keiko Oda Keiko Oda
December 13, 2018

What really happens when you deploy a site on Netlify

Netlify Meetup Tokyo #3 (JAMstack meetup)

Avatar for Keiko Oda

Keiko Oda

December 13, 2018
Tweet

More Decks by Keiko Oda

Other Decks in Technology

Transcript

  1. What really happens when you deploy a site on Netlify

    Keiko Oda / @keiko713 Software Engineer at Netlify
  2. Hello • Keiko Oda (@keiko713) • Netlify API team since

    May 2018 (ex-Herokai) • Live in San Francisco since 2011 • ೔ຊͷ͝͸Μͱ͓͚͞ͱ͓ ;Ζ♨Λຬ٤த
  3. 1. Connect your git repository to Netlify 2. Make changes/Git

    push 3. Run build based on the build settings 4. Publish the deploy
  4. 1. Connect your git repository to Netlify 2. Make changes/Git

    push 3. Run build based on the build settings 4. Publish the deploy
  5. Connect your git repo to Netlify • Netlify supports GitHub,

    GitLab, Bitbucket • Git services → Netlify • Webhooks for push, PR, new branch, etc. • Code access • Git services ← Netlify • Comments to PRs (e.g. link to deploy preview) • Update GitHub Checks (Checks API with GitHub Apps)
  6. 1. Connect your git repository to Netlify 2. Make changes/Git

    push 3. Run build based on the build settings 4. Publish the deploy
  7. 1. Connect your git repository to Netlify 2. Make changes/Git

    push 3. Run build based on the build settings 4. Publish the deploy
  8. Run build based on the build settings • Netlify UI

    or netlify.toml file • Build settings: • Base dir (new!), build command, publish dir • Deploy contexts: • When to actually run the build (you can also [skip ci])
  9. Build and deploy (buildbot + api) Blog post: How Netlify’s

    deploying and routing infrastructure works
  10. Build and deploy (buildbot + api) Blog post: Migrating Netlify’s

    Continuous Deployment infra to Kubernetes (and everything we learned along the way) Blog post: How Netlify migrated to a fully multi-cloud infrastructure
  11. 1. Connect your git repository to Netlify 2. Make changes/Git

    push 3. Run build based on the build settings 4. Publish the deploy