Skip to content

Commit

Permalink
Upgrade / Kubectl (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov authored Sep 9, 2022
2 parents 476bb71 + 21ef6e9 commit 14e5736
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +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}')
kubectl -n ${{ env.NAMESPACE }} exec pods/$API_ACTIVE_POD -- php app.php migrate -s

0 comments on commit 14e5736

Please sign in to comment.