diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe120a7..1ed02fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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