pigli965 / Cabana_app

2 stars 0 forks source link

Add config for deploy in github #2

Closed pigli965 closed 7 months ago

pigli965 commented 8 months ago

Need a configuration of the github setting to deploy the first version of the site (frontend).

TudorGh commented 8 months ago

This is the tutorial link to configure the github pages package in order for app deployment to work: https://github.com/gitname/react-gh-pages

Steps 1-7: Done; Step 8: Settings -> Github Pages -> select the branch: gh-pages -> npm run deploy from the app's location terminal to deploy the production build to gh-pages branch in order to be publish.

Note: Github can only publish the link if the repository is public or private with upgraded account subscription. gh-page-private gh-page-public