Skip to content

twenty2811/react-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-site, commit

TIPS:

  • Do not git clone with https, use git protocal instead, this will ensure your local commit does not require password and name when ssh is configured
- github actions, deployment failed solutions: 

// https://stackoverflow.com/questions/76937061/branch-master-is-not-allowed-to-deploy-to-github-pages-due-to-environment-prot

Sounds like that your environment has some protection set up. You can try the following:

Go to you repository Settings.
Click on Environments.
Select your environment github-pages.
Next to Deployment branches select Selected branches from the dropdown.
Click on Add deployment branch rule.
Enter the pattern main.
This should allow deployments from the main branch to your github-pages environment.

About

this is a demo for react site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published