Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarmen authored Feb 18, 2024
1 parent 3b63a20 commit 7774787
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ runs:
PublicKey = bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=" | sed "s/^[ ]\+//g" | sudo tee -a /etc/wireguard/warp.conf
if [ "${{ inputs.stack }}" == 'ipv4' ]; then
echo "AllowedIPs = 0.0.0.0/0" | sudo tee -a /etc/wireguard/warp.conf
echo "AllowedIPs = 0.0.0.0/0" | sed "s/^[ ]\+//g" | sudo tee -a /etc/wireguard/warp.conf
elif [ "${{ inputs.stack }}" == 'ipv6' ]; then
echo "AllowedIPs = ::/0" | sudo tee -a /etc/wireguard/warp.conf
echo "AllowedIPs = ::/0" | sed "s/^[ ]\+//g" | sudo tee -a /etc/wireguard/warp.conf
else
echo "AllowedIPs = 0.0.0.0/0
AllowedIPs = ::/0" | sudo tee -a /etc/wireguard/warp.conf
AllowedIPs = ::/0" | sed "s/^[ ]\+//g" | sudo tee -a /etc/wireguard/warp.conf
fi
echo "Endpoint = 162.159.193.10:2408" | sed "s/^[ ]\+//g" | sudo tee -a /etc/wireguard/warp.conf
Expand Down

0 comments on commit 7774787

Please sign in to comment.