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
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
- improve deploy to gh-pages workflow