umd-mith / airwaves

Unlocking the Airwaves
https://mith.umd.edu/airwaves/
MIT License
9 stars 2 forks source link

Update staging and production to use renamed 'main' branch #5

Closed trevormunoz closed 3 years ago

trevormunoz commented 3 years ago

Change made on GitHub. Need to change all the local environments to match.

edsu commented 3 years ago

I updated the netlify configuration to pull from main.

edsu commented 3 years ago

Thanks for doing this @trevormunoz, it has been bothering me too. Anyone needing to update their local environments can run:

git branch -m master main           
git fetch origin
git branch -u origin/main main
trevormunoz commented 3 years ago

@edsu Does anything need to be done related to this change for the production machine, or, since the site is built and then rsync'ed over, no change is needed? If no change needed, we could close this?

edsu commented 3 years ago

There's not much magic going on with npm run publish. It just rsyncs whatever is in public to the web server:

https://github.com/umd-mith/airwaves/blob/main/package.json#L69