diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index dca817aa9..33834ead0 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -74,8 +74,9 @@ jobs: - name: Update environment variables run: ssh staging 'export $(gcloud secrets versions access latest --secret="ubyssey_env_configs" | xargs)' - - name: Set tag in docker-compose.yml - run: sed -i "s/\${TAG}/${{ github.ref }}/" docker-compose.yml + # TODO: Fix this + # - name: Set tag in docker-compose.yml + # run: sed -i "s/\${TAG}/${{ github.ref }}/" docker-compose.yml - name: Update docker-compose.yml run: scp docker-compose.yml staging:/opt/ubyssey.ca/docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml index 1a99a476f..915e65b2b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: retries: 20 django: - image: ghcr.io/ubyssey/ubyssey.ca:${TAG} + image: ghcr.io/ubyssey/ubyssey.ca:staging-deploy command: > bash -c "python manage.py migrate && gunicorn ubyssey.wsgi:application --bind 0.0.0.0:8000"