Skip to content

Commit 72ad9e8

Browse files
authored
fix removeRunner.sh
1 parent f71f925 commit 72ad9e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

removeRunner.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Generate Runner token
44
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')
55

6-
cd /opt
7-
86
# Remove the runner
9-
echo "Removing runner."
7+
cd /opt
108
sudo -E -u sre ./config.sh remove --token ${RUNNER_TOKEN}

0 commit comments

Comments
 (0)