This commit is contained in:
2025-10-14 11:09:08 +02:00
commit 6e3589c0b6
3 changed files with 53 additions and 0 deletions

13
entrypoint.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Check required env variables
if [ -z "$OWNER" ] || [ -z "$REPO" ] || [ -z "$RUNNER_TOKEN" ]; then
echo "Missing OWNER, REPO, or RUNNER_TOKEN environment variables."
exit 1
fi
# Configure the runner
./config.sh --url https://github.com/${OWNER}/${REPO} --token $RUNNER_TOKEN
# Run the runner
./run.sh