Skip to content
Permalink
Browse files

Deploy contributing site to Netlify

This add configuration to deploy the contributing site to Netlify so
that we can get deploy previews for each GitHub Pull Request. This makes
it easier to review code and visual changes.

Since we don't intend for this contributing site to be public-facing,
a redirect is added to point the Netlify site to the Bitters GitHub
repo.

Netlify documentation on `netlify.toml`:
https://docs.netlify.com/configure-builds/file-based-configuration/

Closes: #355
  • Loading branch information
tysongach committed Feb 24, 2020
1 parent 8e18575 commit 9cec4aef29760a5b76ea11c1a17810e241280209
Showing with 9 additions and 0 deletions.
  1. +9 −0 netlify.toml
@@ -0,0 +1,9 @@
[build]
publish = "contrib/build"
command = "npx parcel build contrib/index.html --out-dir contrib/build"

[[redirects]]
from = "https://bitters.netlify.com/*"
to = "https://github.com/thoughtbot/bitters"
status = 301
force = true

0 comments on commit 9cec4ae

Please sign in to comment.
You can’t perform that action at this time.