Skip to content

Commit

Permalink
fix: no-interaction for php artisan script in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
neolectron committed Sep 18, 2024
1 parent 2daf628 commit 23c183c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/remove-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
ssh_key: ${{ secrets.CODINGLABGG_SSH_KEY }}
ssh_cert: ${{ secrets.CODINGLABGG_SSH_CERT }}

- name: '`docker compose run php artisan p:user:mak` on the production server'
- name: '`docker compose run php artisan p:user:delete` on the production server'
working-directory: .
run: docker --context prod-server compose run --rm panel php artisan p:user:delete --user=${{ github.event.inputs.user }}
run: docker --context prod-server compose run --rm panel php artisan p:user:delete --user=${{ github.event.inputs.user }} --no-interaction
env:
MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}
MYSQL_ROOT_PASSWORD: ${{ secrets.MYSQL_ROOT_PASSWORD }}

0 comments on commit 23c183c

Please sign in to comment.