-
Notifications
You must be signed in to change notification settings - Fork 1
Netlify Overview
Netlify is a static site hosting service that offers many convenience features such as built-in continuous integration/continuous deployment, free one-click SSL registration and automatic HTTPS configuration, deployment previews, and more. More details can be learned through the official Netlify documentation.
The SDG National Reporting Initiative Website repository notifies Netlify when an update has occurred, which triggers an automated build. Netlify then runs a build as configured while also automatically detecting and resolving specified platform dependencies.
The production site at www.sdgreporting.org
is hosted via Netlify and configured to listen to changes to the master
branch. When a commit to the master
branch is detected, Netlify performs the following:
- Pulls down the code from the
master
branch - Installs dependencies
- Runs
yarn run build:production
- Deploys the finished site
The staging site at staging.sdgreporting.org
is also hosted via Netlify and configured to listen for changes to the develop
branch. The process is similar to the production website. When a commit to the develop
branch is detected, Netlify performs the following:
- Pulls down the code from the
develop
branch - Installs dependencies
- Runs yarn run build:staging
- Deploys the finished site