Skip to content

Commit

Permalink
feat(runner): correct setup guide
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Feb 2, 2025
1 parent 8c8857e commit 483fcc9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion web/src/views/Runners.vue
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,18 @@ export default {
},
runnerSetupCommand() {
return 'semaphore runner setup';
return `
cat << EOF >> /tmp/config.runner.stdin
${this.webHost}
no
yes
${(this.newRunner || {}).token}
yes
/path/to/the/private/key
./
EOF
semaphore runner setup --config ./config.runner.json < /tmp/config.runner.stdin`;
},
runnerEnvCommand() {
Expand Down

0 comments on commit 483fcc9

Please sign in to comment.