We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f71f925 commit 72ad9e8Copy full SHA for 72ad9e8
removeRunner.sh
@@ -3,8 +3,6 @@
3
# Generate Runner token
4
export RUNNER_TOKEN=$(curl -s -X POST https://api.github.com/orgs/${ORGANIZATION_NAME}/actions/runners/registration-token -H "accept: application/vnd.github.everest-preview+json" -H "authorization: token ${GITHUB_PAT}" | jq -r '.token')
5
6
-cd /opt
7
-
8
# Remove the runner
9
-echo "Removing runner."
+cd /opt
10
sudo -E -u sre ./config.sh remove --token ${RUNNER_TOKEN}
0 commit comments