Skip to content

Commit

Permalink
Working on token acquisition workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Steiler committed Sep 14, 2023
1 parent 6c5324a commit b0ddde6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/actions/helper/api-token-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ runs:
sudo ip link add dev wg0 type wireguard
sudo ip address add dev wg0 ${{ inputs.wg-local-address }} peer ${{ inputs.wg-remote-address }}
sudo wg set wg0 listen-port ${{ inputs.wg-listen-port }} private-key private.key peer ${{ inputs.wg-peer-public-key }} allowed-ips ${{ inputs.wg-allowed-ips }} preshared-key preshared.key endpoint ${{ inputs.wg-endpoint }}
sudo wg set wg0 \
listen-port ${{ inputs.wg-listen-port }} \
private-key private.key \
preshared-key preshared.key \
peer ${{ inputs.wg-peer-public-key }} \
allowed-ips ${{ inputs.wg-allowed-ips }} \
persistent-keepalive 10 \
endpoint ${{ inputs.wg-endpoint }}
- id: start-wg
shell: bash
run: |
Expand Down

0 comments on commit b0ddde6

Please sign in to comment.