enriikke / gatsby-gh-pages-action

GitHub Action to build and deploy your Gatsby site to GitHub Pages ❤️🎩
MIT License
295 stars 62 forks source link

Updated to handle inputs being strings #24

Closed kenjdavidson closed 4 years ago

kenjdavidson commented 4 years ago

From pull request #16 I completely didn't realize that all inputs are treated as strings, which is why when adding:

skip-publish: false

it was actually treated as

skip-pubilish: 'false'

which I just didn't even think to verify, since all the examples seem to show it as a boolean. I've updated all the checks to use 'false' and 'true' where applicable.

enriikke commented 4 years ago

Thanks for the quick fix @kenjdavidson! 😃