Closed sunithapatel closed 3 years ago
Thanks @sunithapatel for creating this issue.
Following our slack conversation what I forgot to mention in the readme is the following:
if you could trigger
npm run deploy
when code is merged intomaster
and setup Github actions that would be awesome.
npm run deploy
step in package.json link
gh-pages
is a devDependency which takes care of building the app, putting the build into the gh-pages
branch and invoke github pages to do the right thing.
link
Include GitHub actions yml file to build and deploy the React app after every merge to master.
Can also include a step to build and run tests the app on every pull request and block merge if build or tests fail.