Move onboard to recruitment/scripts with absolute paths
This commit is contained in:
@@ -49,7 +49,6 @@ if [[ "$PCEXEC_PROXIED" != "true" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)"
|
||||
TODAY=$(date +%Y-%m-%d)
|
||||
|
||||
# Resolve discord-id from bot token
|
||||
@@ -75,8 +74,8 @@ ego-mgr set email "${NAME}@${ROLE}.hangman-lab.top"
|
||||
ego-mgr set agent-id "$AGENT_ID"
|
||||
ego-mgr set date-of-birth "$TODAY"
|
||||
|
||||
"$SCRIPT_PATH/../../keycloak-hangman-lab/scripts/create-keycloak-account"
|
||||
"$SCRIPT_PATH/../../git-hangman-lab/scripts/create-git-account"
|
||||
"$SCRIPT_PATH/../../git-hangman-lab/scripts/link-keycloak"
|
||||
~/.openclaw/skills/keycloak-hangman-lab/scripts/create-keycloak-account
|
||||
~/.openclaw/skills/git-hangman-lab/scripts/create-git-account
|
||||
~/.openclaw/skills/git-hangman-lab/scripts/link-keycloak
|
||||
|
||||
echo "Onboarding complete for $NAME."
|
||||
Reference in New Issue
Block a user