File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 55 description : ' Username'
66 required : true
77 type : string
8+ first_name :
9+ description : ' First name'
10+ required : false
11+ type : string
12+ last_name :
13+ description : ' Last name'
14+ required : false
15+ type : string
816 password :
917 description : ' Password'
1018 required : true
3947
4048 - name : ' `docker compose run php artisan p:user:mak` on the production server'
4149 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 == 'true' && 1 || 0 }} --name-first=Change --name-last=Me
50+ run : docker --context prod-server compose run --rm panel php artisan p:user:make \
51+ --username=${{ github.event.inputs.username }} \
52+ --password=${{ github.event.inputs.password }} \
53+ --email=${{ github.event.inputs.email }} \
54+ --admin=${{ github.event.inputs.admin == 'true' && 1 || 0 }} \
55+ --name-first=${{ github.event.inputs.first_name }} \
56+ --name-last=${{ github.event.inputs.last_name }}
4357 env :
4458 MYSQL_PASSWORD : ${{ secrets.MYSQL_PASSWORD }}
4559 MYSQL_ROOT_PASSWORD : ${{ secrets.MYSQL_ROOT_PASSWORD }}
Original file line number Diff line number Diff line change 2323
2424 - name : ' `docker compose run php artisan p:user:delete` on the production server'
2525 working-directory : .
26- run : docker --context prod-server compose run --rm panel php artisan p:user:delete --user=${{ github.event.inputs.user }} --no-interaction
26+ run : docker --context prod-server compose run --rm panel php artisan p:user:delete --no-interaction \
27+ --user=${{ github.event.inputs.user }}
2728 env :
2829 MYSQL_PASSWORD : ${{ secrets.MYSQL_PASSWORD }}
2930 MYSQL_ROOT_PASSWORD : ${{ secrets.MYSQL_ROOT_PASSWORD }}
You can’t perform that action at this time.
0 commit comments