When a Banno Redesign site launches, its GitHub repo needs to be prepared for support going forward. Do the following:
I) Remove the old site’s deploy zip
- If not, when pushing new code in Slack, it will put the old zip file onto Prod.
II) Rename the old and new branches in GitHub using the following steps
- Old build’s branch adhering to this naming convention:
oldsite_MM-DD-YY(The date should be the launch day of the new site) - New build’s branch to
main
- Click
Branchesnext to the branch dropdown on the repo’s Code home page - Click the three dots to the right of the branch to rename
- Click
Rename branch
III) Change default branch
- Settings tab
- General page > Default branch section
- Click the
Switch to another branchbutton (DO NOT use the edit name button) - Select main from the drop down
- Click
Update
After these steps are done, the repo will have two branches.