Created
September 27, 2021 16:16
-
-
Save nixinator/c52a237b38671b2b8b58414ddd7a649f to your computer and use it in GitHub Desktop.
runner get it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
registration_url="https://api.github.com/repos/ArdanaLabs/DanaSwapStats/actions/runners/registration-token" | |
echo "Requesting registration URL at '${registration_url}'" | |
payload=$(curl -sX POST -H "Authorization: token ${GITHUB_PAT}" ${registration_url}) | |
#export RUNNER_TOKEN=$(echo $payload | jq .token --raw-output) | |
echo RUNNER_TOKEN=$(echo $payload | jq .token --raw-output) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment