Change the geoserver_data git action to sync from checkout.
Move the update site logic into its own action.
Rename the username variable to user_name in the geonode_authorize_layer function.
Do not including the protocol when updating the application's site name.
Add additional options to the local_settings file and clean it up a bit.
Safely drop the geonode_authorize_function.