scientist-softserv / west-virginia-university

West Virginia University
0 stars 0 forks source link

Auto release script #66

Closed orangewolf closed 1 year ago

orangewolf commented 1 year ago

Adds a script to poll Github for new releases. This changes the code update for the dev and prod servers to be set to either pre-release tags or latest release tags respectively. If the code is updated, it will run migrations, build the containers and restart the conversion, web and workers containers.

To enable on the dev server, add */5 * * * * bash -l -c "cd /home/git_pulls/hydra_acda_portal_public; ./check_new_release.sh dev"