set GITEA_HOST automatically
parent
b4bcbe7f6a
commit
7670ccf799
|
@ -1 +1,2 @@
|
|||
export GITEA_ACCESS_TOKEN={{- (bitwardenFields "item" "Gitea").token.value }}
|
||||
export GITEA_HOST=ssh://git@git.penguincoder.org:2222
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
GITEA_HOST=$1
|
||||
GITEA_HOST=${GITEA_HOST:-1}
|
||||
|
||||
if [ -z "$GITEA_HOST" ] || [ -z "$GITEA_ACCESS_TOKEN" ] ; then
|
||||
echo "Clones all repos that you have access to into the current directory."
|
||||
|
|
Loading…
Reference in New Issue