Skip to content

Commit 5a180ec

Browse files
committed
fix: correct user creation command formatting
- Adjust user creation command to use correct flags - Ensure email setting uses double quotes for consistency
1 parent 8a146ca commit 5a180ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,14 +440,15 @@ jobs:
440440
--first-user-username pr${{ env.PR_NUMBER }}-admin \
441441
--first-user-email pr${{ env.PR_NUMBER }}@coder.com \
442442
--first-user-password $password \
443+
--first-user-trial=false \
443444
--use-token-as-session \
444445
https://${{ env.PR_HOSTNAME }}
445446
446447
# Create a user for the github.actor
447448
coder users create \
448-
--user ${{ github.actor }} \
449+
--username ${{ github.actor }} \
449450
--password $password \
450-
--email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" \ # this will be overwritten by the user's email when they login via github
451+
--email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" \
451452
--login-type github
452453
453454
# promote the user to admin role

0 commit comments

Comments
 (0)