14 lines
220 B
Bash
Executable File
14 lines
220 B
Bash
Executable File
#!/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
|