Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov committed Sep 4, 2022
1 parent 108392b commit b20c43b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,4 @@ jobs:
- 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 }} describe pod $API_ACTIVE_POD
kubectl -n ${{ env.NAMESPACE }} exec pod $API_ACTIVE_POD -- php app.php migrate -s
kubectl -n ${{ env.NAMESPACE }} exec pods/$API_ACTIVE_POD -- php app.php migrate -s

0 comments on commit b20c43b

Please sign in to comment.