From a04c2d5675d8d7ae126196e9480ad39443bec515 Mon Sep 17 00:00:00 2001 From: Volodymyr Komarov Date: Sat, 27 Aug 2022 18:49:00 +0300 Subject: [PATCH] Fix deployment job --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9eb2350..fa694ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,5 +116,5 @@ jobs: - name: Verify service ready run: kubectl -n ${{ env.NAMESPACE }} wait pods -l app=api --for condition=Ready --timeout=60s - - name: Clear cache - run: kubectl -n ${{ env.NAMESPACE }} exec deployments/api -i -- php app.php migrate + - name: Migrate database + run: kubectl -n ${{ env.NAMESPACE }} exec deployments/api -- php app.php migrate