You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our goal is to set up an easy staging and production environment for us to quickly test and deploy changes. This would involve setting up a new Digital Ocean instance for us to work within and eventually migrate the production site over to #33.
Our ideal git flow would be to merge from a dev branch into staging into main.
Create staging branch
Create new DO instance and set up vhosts for staging.riversinstitute.org and riversinstitute.org / production.riversinstitute.org
Point DNS records for staging.riversinstitute.org and production.riversinstitute.org to this
Set up GH action for both staging and main that copies the contents of that branch via rsync or SFTP over to the correct folder in the DO vhost.
Copy the contents of the content folder from current prod into each of the new vhosts. (and modify a script to run from command line to do so)
The text was updated successfully, but these errors were encountered:
I setup a new DO instance today. It's running Ubuntu 24.10/nginx. There's a server block for staging & production at etc/nginx/sites-available/riversinstitute.org that point to the following directories:
Our goal is to set up an easy staging and production environment for us to quickly test and deploy changes. This would involve setting up a new Digital Ocean instance for us to work within and eventually migrate the production site over to #33.
Our ideal git flow would be to merge from a dev branch into
staging
intomain
.staging
branchstaging.riversinstitute.org
andriversinstitute.org
/production.riversinstitute.org
staging.riversinstitute.org
andproduction.riversinstitute.org
to thisstaging
andmain
that copies the contents of that branch via rsync or SFTP over to the correct folder in the DO vhost.content
folder from current prod into each of the new vhosts. (and modify a script to run from command line to do so)The text was updated successfully, but these errors were encountered: