talisman
talisman copied to clipboard
Talisman prevented gh-pages script from publishing to GitHub Pages when deploying a simple react app
Describe the bug
-
The Create React App documentation advises installing and running
gh-pagesto publish a simple React app to GitHub Pages: https://create-react-app.dev/docs/deployment/#step-2-install-gh-pages-and-add-deploy-to-scripts-in-packagejson -
When running
yarn deploythegh-pagesscript runs but then hangs at the commit stage. This can be seen by running theyarn deployin debug mode by usingNODE_DEBUG=gh-pages yarn deploy -
As part of my troubleshooting: I manually committed to my repo and encountered the checksum warnings from Talisman, after answering yes to the warnings I was able to manually commit to my repo.
-
I suspected that Talisman was blocking the
gh-pagesscript from committing to GitHub. -
I uninstalled Talisman and ran the
yarn deployagain, this time I was able to successfully deploy my app to GitHub pages.
To Reproduce
Steps to reproduce the behavior:
- Have Talisman installed
- Create a React app: https://create-react-app.dev/docs/getting-started
- Follow the steps to publish to GitHub Pages: https://create-react-app.dev/docs/getting-started (I used yarn but assume same issue will be faced with NPM)
- Use
yarn deployin debug mode by usingNODE_DEBUG=gh-pages yarn deploy - It will run through the script and stop at the Committing stage
Expected behavior
The gh-pages script should be able to run and publish the app to the GitHub repo and create a gh-pages branch for deployment to GitHub Pages.
Screenshots
Expected Behaviour:

Desktop:
- OS: macOS Catalina v 10.15.6
- Browser: Chrome
- Version: 84.0.4147.135
Did you install talisman with interactive mode enabled by default ? Interactive mode would definitely cause this hanging problem.
I can't remember as I installed it as part of a workshop at work under the direction of the instructor. It does sound like interactive mode was enabled.
I will be able to test this weekend by reinstalling Talisman.