lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
240 stars 79 forks source link

Fix production deployments #1066

Closed abandoned-prototype closed 1 year ago

abandoned-prototype commented 1 year ago

Fixes issue

Prod deploy failed.

Description of Changes

Pushing into the main branch is now longer required for production deployments, but the task.py script was hard-coded to fetch the (out of date) main branch. After this change, the script will now fetch the given git ref, in the prod deploy case this is the tag used in the release.

Notes for Deployment

Tested task.py script locally

Tests and linting