chore: bootstrap independent git workflow
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
13
scripts/git/gitea-askpass.sh
Executable file
13
scripts/git/gitea-askpass.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
*Username*)
|
||||
printf '%s\n' "${GITEA_USERNAME:?GITEA_USERNAME is required}"
|
||||
;;
|
||||
*Password*)
|
||||
printf '%s\n' "${GITEA_TOKEN:?GITEA_TOKEN is required}"
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user