diff --git a/runner_manager/bin/startup.sh b/runner_manager/bin/startup.sh index adcd08a2..9ee930c9 100755 --- a/runner_manager/bin/startup.sh +++ b/runner_manager/bin/startup.sh @@ -144,11 +144,11 @@ function setup_runner { sudo -H -u actions bash -c "nohup /home/actions/actions-runner/run.sh --jitconfig \"${JIT_CONFIG}\" 2>/home/actions/actions-runner/logs &" fi - cat </opt/runner/job_started_script.sh + cat <<'EOF' >/opt/runner/job_started_script.sh ${RUNNER_JOB_STARTED_SCRIPT} EOF - cat </opt/runner/job_completed_script.sh + cat <<'EOF' >/opt/runner/job_completed_script.sh ${RUNNER_JOB_COMPLETED_SCRIPT} EOF