Move onboard to recruitment/scripts with absolute paths

This commit is contained in:
lyn
2026-04-12 15:01:44 +00:00
parent cd88440361
commit 8f3055be62

View File

@@ -49,7 +49,6 @@ if [[ "$PCEXEC_PROXIED" != "true" ]]; then
exit 1 exit 1
fi fi
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)"
TODAY=$(date +%Y-%m-%d) TODAY=$(date +%Y-%m-%d)
# Resolve discord-id from bot token # 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 agent-id "$AGENT_ID"
ego-mgr set date-of-birth "$TODAY" ego-mgr set date-of-birth "$TODAY"
"$SCRIPT_PATH/../../keycloak-hangman-lab/scripts/create-keycloak-account" ~/.openclaw/skills/keycloak-hangman-lab/scripts/create-keycloak-account
"$SCRIPT_PATH/../../git-hangman-lab/scripts/create-git-account" ~/.openclaw/skills/git-hangman-lab/scripts/create-git-account
"$SCRIPT_PATH/../../git-hangman-lab/scripts/link-keycloak" ~/.openclaw/skills/git-hangman-lab/scripts/link-keycloak
echo "Onboarding complete for $NAME." echo "Onboarding complete for $NAME."