mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-20 16:29:21 +00:00
Moving args to env
This commit is contained in:
parent
5a57b3cfe8
commit
b12eb1f32f
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ runs:
|
|||
shell: bash
|
||||
env:
|
||||
TAILSCALE_AUTHKEY: ${{ inputs.authkey }}
|
||||
ADDITIONAL_ARGS: ${{ inputs.args }}
|
||||
run: |
|
||||
sudo tailscaled 2>~/tailscaled.log &
|
||||
HOSTNAME="github-$(cat /etc/hostname)"
|
||||
sudo tailscale up --authkey ${TAILSCALE_AUTHKEY} --hostname=${HOSTNAME} --accept-routes ${INPUT_ARGS}
|
||||
sudo tailscale up --authkey ${TAILSCALE_AUTHKEY} --hostname=${HOSTNAME} --accept-routes ${ADDITIONAL_ARGS}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue