File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 165
165
166
166
chmod +x /etc/systemd/system/shutdown.sh
167
167
168
- su -s /bin/bash -c "cd /actions-runner-1/;/actions-runner-1/config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --name ${VM_ID} -1 --labels ${VM_ID} --unattended --disableupdate" runner
169
- su -s /bin/bash -c "cd /actions-runner-2/;/actions-runner-2/config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --name ${VM_ID} -2 --labels ${VM_ID} --unattended --disableupdate" runner
168
+ RUNNER_ID=${VM_ID} -$( date +%s)
169
+ su -s /bin/bash -c "cd /actions-runner-1/;/actions-runner-1/config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --name ${RUNNER_ID} -1 --labels ${VM_ID} --unattended --disableupdate" runner
170
+ su -s /bin/bash -c "cd /actions-runner-2/;/actions-runner-2/config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --name ${RUNNER_ID} -2 --labels ${VM_ID} --unattended --disableupdate" runner
170
171
171
172
touch /.github-runner-config-ready
172
173
You can’t perform that action at this time.
0 commit comments