fix typo
All checks were successful
/ deploy (push) Successful in 12s

This commit is contained in:
ange 2024-12-22 06:37:39 +00:00
parent 5fc4963f7c
commit 5395428902
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -16,14 +16,13 @@ spec:
command: command:
- bash - bash
- -c - -c
- | - gitea admin user change-password --must-change-password=false \
gitea admin user change-password --must-change-password=false --username "$username" \
--username "$username" --password "$password" \
--password "$password" || gitea admin user create --admin --must-change-password=false \
|| gitea admin user create --admin --must-change-password=false --email "$email" \
--email "$email" --username "$username" \
--username "$username" --password "$password" \
--password "$password"
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /etc/gitea/app.ini mountPath: /etc/gitea/app.ini