Skip to content

Commit edbc8f5

Browse files
authored
changing add vpn user workflow name vpn_ip_address
changing variable name vpn_ip_address to wireguard_vpn_ip_address
1 parent b6d08ae commit edbc8f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/add-vpn-user.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Add VPN User
33
on:
44
workflow_dispatch:
55
inputs:
6-
vpn_ip_address:
7-
description: 'vpn_ip_address'
6+
wireguard_vpn_ip_address:
7+
description: 'wireguard_vpn_ip_address'
88
required: true
99
default: '192.0.2.1'
1010

@@ -32,11 +32,11 @@ jobs:
3232

3333
- name: SSH into remote host
3434
run: |
35-
ssh -o StrictHostKeyChecking=no ${{ inputs.ssh_username }}@${{ inputs.vpn_ip_address }} "date"
35+
ssh -o StrictHostKeyChecking=no ${{ inputs.ssh_username }}@${{ inputs.wireguard_vpn_ip_address }} "date"
3636
3737
- name: Generate new vpn peer config & Add save client config to password manager
3838
run: |
39-
ssh -o StrictHostKeyChecking=no ${{ inputs.ssh_username }}@${{ inputs.vpn_ip_address }} -C "cd /etc/wireguard && PSONO_CI_API_KEY_ID=${{ secrets.PSONO_CI_API_KEY_ID }} PSONO_CI_API_SECRET_KEY_HEX=${{ secrets.PSONO_CI_API_SECRET_KEY_HEX }} PSONO_CI_SERVER_URL=${{ secrets.PSONO_CI_SERVER_URL }} PSONO_SECRET_ID=${{ inputs.PSONO_SECRET_ID }} ./add-vpn-user.sh"
39+
ssh -o StrictHostKeyChecking=no ${{ inputs.ssh_username }}@${{ inputs.wireguard_vpn_ip_address }} -C "cd /etc/wireguard && PSONO_CI_API_KEY_ID=${{ secrets.PSONO_CI_API_KEY_ID }} PSONO_CI_API_SECRET_KEY_HEX=${{ secrets.PSONO_CI_API_SECRET_KEY_HEX }} PSONO_CI_SERVER_URL=${{ secrets.PSONO_CI_SERVER_URL }} PSONO_SECRET_ID=${{ inputs.PSONO_SECRET_ID }} ./add-vpn-user.sh"
4040
4141
4242
# Enable tmate debugging of manually-triggered workflows if the input option was provided

0 commit comments

Comments
 (0)