Skip to content

Commit f764e4d

Browse files
committed
fix: multiline script to add user
1 parent e097bbc commit f764e4d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/panel-create-user.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ jobs:
4949
ssh_cert: ${{ secrets.CODINGLABGG_SSH_CERT }}
5050

5151
- name: '`docker compose run php artisan p:user:mak` on the production server'
52-
run: docker --context prod-server compose run --rm panel php artisan p:user:make \
53-
--username=${{ github.event.inputs.username }} \
54-
--password=${{ github.event.inputs.password }} \
55-
--email=${{ github.event.inputs.email }} \
56-
--admin=${{ github.event.inputs.admin == 'true' && 1 || 0 }} \
57-
--name-first=${{ github.event.inputs.first_name }} \
58-
--name-last=${{ github.event.inputs.last_name }}
52+
run: |
53+
docker --context prod-server compose run --rm panel php artisan p:user:make \
54+
--username=${{ github.event.inputs.username }} \
55+
--password=${{ github.event.inputs.password }} \
56+
--email=${{ github.event.inputs.email }} \
57+
--admin=${{ github.event.inputs.admin == 'true' && 1 || 0 }} \
58+
--name-first=${{ github.event.inputs.first_name }} \
59+
--name-last=${{ github.event.inputs.last_name }}
5960
env:
6061
MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}
6162
MYSQL_ROOT_PASSWORD: ${{ secrets.MYSQL_ROOT_PASSWORD }}

0 commit comments

Comments
 (0)