Skip to content

Commit

Permalink
running seeding command in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Delyc committed Dec 19, 2024
1 parent 5e85dfb commit a2978de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-publish-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
BACKEND_POD=$(kubectl get pods -l app=mpm-backend -o jsonpath='{.items[0].metadata.name}')
echo "Backend pod: $BACKEND_POD"

Check failure on line 42 in .github/workflows/release-publish-cluster.yaml

View workflow job for this annotation

GitHub Actions / Run yamllint

42:43 [trailing-spaces] trailing spaces
# Run the commands in sequence in the backend pod
kubectl exec -it $BACKEND_POD -- /bin/sh -- php artisan migrate-tenant:drop-demo-company
kubectl exec $BACKEND_POD -- /bin/sh -- php artisan migrate:fresh --seed
kubectl exec $BACKEND_POD -- php artisan migrate-tenant:drop-demo-company
kubectl exec $BACKEND_POD -- php artisan migrate:fresh --seed

0 comments on commit a2978de

Please sign in to comment.