From 21ef6e94f03d659dd4dc62890bd800a4e38a5511 Mon Sep 17 00:00:00 2001 From: Volodymyr Komarov Date: Sat, 10 Sep 2022 00:58:06 +0300 Subject: [PATCH] Fix database migration step on deployment --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 769af8e..db8b80c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,9 +115,3 @@ jobs: - name: Verify service ready run: kubectl -n ${{ env.NAMESPACE }} wait pods -l app=api --for condition=Ready --timeout=60s - - - name: Migrate database - run: | - export API_ACTIVE_POD=$(kubectl get pod -n ${{ env.NAMESPACE }} | grep 'api' | awk 'END {print $1}') - echo $API_ACTIVE_POD - kubectl -n ${{ env.NAMESPACE }} exec pods/$API_ACTIVE_POD -- php app.php migrate -s