diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-10 19:30:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-10 19:30:25 +0300 |
commit | a92c6aebbcb4c6001c935911609fef8e325cda1c (patch) | |
tree | 487d1ea801be0c0ff0d4951be63ee4e11e8a0b39 | |
parent | README: add CI badge (diff) | |
download | setup-wireguard-a92c6aebbcb4c6001c935911609fef8e325cda1c.tar.gz setup-wireguard-a92c6aebbcb4c6001c935911609fef8e325cda1c.zip |
fix parameter order
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/test.yml | 2 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b046e9..4c6fe16 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,8 +27,8 @@ jobs: endpoint: '${{ secrets.ENDPOINT }}' endpoint_public_key: '${{ secrets.ENDPOINT_PUBLIC }}' ips: '${{ secrets.IPS }}' + allowed_ips: '${{ secrets.ALLOWED_IPS }}' private_key: '${{ secrets.PRIVATE }}' preshared_key: '${{ secrets.PRESHARED }}' - allowed_ips: '${{ secrets.ALLOWED_IPS }}' - name: Check endpoint run: ping -W 10 -c 5 -- '${{ secrets.ENDPOINT_PRIVATE_IP }}' @@ -16,9 +16,9 @@ Use it your workflow like this: endpoint: 46.46.46.46:51820 endpoint_public_key: 9IHlvJqgkVWMq57a0A56XI5IjhnL5gaRhI1Pszk7S24= ips: 192.168.143.254/24,fd8c:bc10:5021::192.168.143.254/48 + allowed_ips: 192.168.143.0/24,fd8c:bc10:5021::/48 private_key: GLEiXhRwFuhw8aPy+HQfSMwwoLU0Sw8jE8MOxZ8GV3w= preshared_key: PWAfvVWCjiNV0Uh2DhmXhdRaT326qosSOcaDB3j9dwI= - allowed_ips: 192.168.143.0/24,fd8c:bc10:5021::/48 Of couse it's highly advised to store all sensitive data in your repository's secrets. |