Răsfoiți Sursa

update to run migrations built in container

Stefan McShane 3 ani în urmă
părinte
comite
4bc88d578c
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      .github/workflows/production.yaml

+ 1 - 2
.github/workflows/production.yaml

@@ -68,9 +68,8 @@ jobs:
           DB_PASS: ${{ secrets.DB_PASS }}
           DB_PASS: ${{ secrets.DB_PASS }}
           DB_NAME: ${{ secrets.DB_NAME }}
           DB_NAME: ${{ secrets.DB_NAME }}
         run: |
         run: |
-          echo -e DB_HOST=$DB_HOST -e DB_PORT=$DB_PORT -e DB_USER=$DB_USER -e DB_NAME=$DB_NAME | sed 's/./& /g'
           docker run \
           docker run \
-          -e DB_HOST=$DB_HOST -e DB_PORT=$DB_PORT -e DB_USER=$DB_USER -e DB_PASS=$DB_PASS -e DB_NAME=$DB_NAME \
+          -e DB_HOST=$DB_HOST -e DB_PORT=$DB_PORT -e DB_USER=$DB_USER -e DB_PASS=$DB_PASS -e DB_NAME=$DB_NAME -e DB_FORCE_SSL=true \
           gcr.io/porter-dev-273614/porter:latest \
           gcr.io/porter-dev-273614/porter:latest \
           /porter/migrate
           /porter/migrate
       - name: Deploy to cluster
       - name: Deploy to cluster