diff --git a/action.sh b/action.sh index 1769bf8..89dd827 100755 --- a/action.sh +++ b/action.sh @@ -214,6 +214,8 @@ systemctl daemon-reload systemctl enable shutdown.service gcloud compute instances add-labels ${VM_ID} --zone=${machine_zone} --labels=gh_ready=0 && \\ +echo \"RUNNER_ALLOW_RUNASROOT=1 ./config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --labels ${VM_ID} --unattended ${ephemeral_flag} --disableupdate 2> /var/log/ss_error.txt 1> /var/log/output.txt && \\ +\" > /var/log/cmd.txt && \\ RUNNER_ALLOW_RUNASROOT=1 ./config.sh --url https://github.com/${GITHUB_REPOSITORY} --token ${RUNNER_TOKEN} --labels ${VM_ID} --unattended ${ephemeral_flag} --disableupdate 2> /var/log/ss_error.txt 1> /var/log/output.txt && \\ ./svc.sh install 2>> /var/log/ss_error2.txt 1>> /var/log/output2.txt && \\ ./svc.sh start 2>> /var/log/ss_error3.txt 1>> /var/log/output3.txt && \\