Skip to content

Instantly share code, notes, and snippets.

@philhawksworth
Created January 4, 2018 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philhawksworth/61715131c5d229c06f161e82e93db803 to your computer and use it in GitHub Desktop.
Save philhawksworth/61715131c5d229c06f161e82e93db803 to your computer and use it in GitHub Desktop.
Example netlify configuration file
# Our global, build settings
[build]
base = "site" # run the buold from this directory
publish = "public" # the output diretory to push to the CDN after the build
command = "gulp build" # the command to build our site
# Specific branch context: Deploys from this branch
# will take these settings and override their
# current ones.
[context."feature/branch"]
command = "gulp build:my-feature" # For this branch we'd prefer to build with this
@lukeaus
Copy link

lukeaus commented Dec 12, 2018

typo "buold" -> "build"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment