Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 841 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 841 Bytes

HOW TO DEPLOY CHANGES

This website is hosted on github pages, so only the static index.html file is actually rendered.

This means that changes to the elm code will only be reflected if the latest build is pushed to the gh-pages branch

install everything by running yarn

Then run yarn build and commit the new elm.js file along with your changes.

Test the changes locally by running open index.html

Once you've pushed your changes, the latest should be reflected at willisplummer.com

PRE-COMMIT HOOK

I wrote a pre-commit hook to remind myself to build index.html and commit that too. When setting up a new local environment, simply run the following command from the top-level directory:

$ cp hooks/pre-commit .git/hooks/pre-commit

TO DO's

  • improve deploy to gh-pages workflow