File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 39
39
40
40
- name : ' `docker compose run php artisan p:user:mak` on the production server'
41
41
working-directory : .
42
- run : docker --context prod-server compose run --rm panel php artisan p:user:make --username=${{ github.event.inputs.username }} --password=${{ github.event.inputs.password }} --email=${{ github.event.inputs.email }} --admin=${{ github.event.inputs.admin }} --name-first=Change --name-last=Me
42
+ run : docker --context prod-server compose run --rm panel php artisan p:user:make --username=${{ github.event.inputs.username }} --password=${{ github.event.inputs.password }} --email=${{ github.event.inputs.email }} --admin=${{ github.event.inputs.admin == 'true' && 1 || 0 }} --name-first=Change --name-last=Me
43
43
env :
44
44
MYSQL_PASSWORD : ${{ secrets.MYSQL_PASSWORD }}
45
45
MYSQL_ROOT_PASSWORD : ${{ secrets.MYSQL_ROOT_PASSWORD }}
You can’t perform that action at this time.
0 commit comments