Skip to content

VPN Connect Test

VPN Connect Test #1

Workflow file for this run

name: VPN Connect Test
on:
workflow_dispatch:
jobs:
show-context:
runs-on: ubuntu-latest
steps:
- name: Show github context object
run: echo $JSON
env:
JSON: ${{ toJSON(github) }}
test:
runs-on: ubuntu-latest
name: Typical Usage of OpenVPN
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install OpenVPN
run: |
sudo apt update
sudo apt install -y openvpn openvpn-systemd-resolved
- name: Connect to VPN
uses: "./"
with:
config_file: .github/workflows/client.ovpn
- name: Check if connected
run: curl -v ${{ secrets.TARGET_URL }}