Skip to content

Commit

Permalink
Fix release workflow (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov authored Sep 4, 2022
2 parents 8f8a832 + b20c43b commit 476bb71
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 476bb71

Please sign in to comment.