JJ-Coding-Emporium / jj-coding-emporium

The source code for our coding blog, written by devs, for devs.
https://jj-coding-emporium.github.io/
0 stars 0 forks source link

Enforce building prod site ONLY from master #8

Closed justin0022 closed 5 years ago

justin0022 commented 5 years ago

No hugo from dev branch

jordancoblin commented 5 years ago

Haven't devised a way yet to block running hugo from dev branches, but I did add a deployment script that will check that it's being run on master.

Let's deploy by running ./scripts/deploy.sh <commit msg>.