Bonus: Redeployment Script
Redeployment Script
Below you will find a script that can be run inside of the react-tic-tac-toe project.
The script accomplishes a few things:
- Compares the local and remote branch to one another
- Appends a message to a deploy
- Rebuilds the project if there are changes that were merged
Note
This is not a common way to redeploy projects nor rebuild them. This is meant to serve as a fun way to manipulate the .git
directory within any given project.