Просмотр исходного кода

update to run migrations built in container

Stefan McShane 3 лет назад
Родитель
Сommit
4bc88d578c
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      .github/workflows/production.yaml

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

@@ -68,9 +68,8 @@ jobs:
           DB_PASS: ${{ secrets.DB_PASS }}
           DB_NAME: ${{ secrets.DB_NAME }}
         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 \
-          -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 \
           /porter/migrate
       - name: Deploy to cluster