Connect to OpenVPN using github actions
- uses: insgreeb-pro/vpn-action@v1
name: Connect to OpenVPN
with:
username: ${{ secrets.VPN_USER }}
password: ${{ secrets.VPN_PASSWORD }}
config: ${{ secrets.VPN_FILE }}
username - (required) username to connect vpn server
password - (required) password to connect vpn server
config - (required) url to download conifig file .ovpn
with ping test:
- uses: insgreeb-pro/vpn-action@v1
name: Connect to OpenVPN
with:
username: ${{ secrets.VPN_USER }}
password: ${{ secrets.VPN_PASSWORD }}
config: ${{ secrets.VPN_FILE }}
- name: PING Test
run: ping -c 4 ${{ secrets.LOCAL_SERVER }}