GitHub Action
Easy WireGuard Connection
v2
Latest version
This GitHub Action simplifies the setup of a WireGuard connection using wg-quick
. It only requires a WireGuard configuration file as input to get your connection up and running quickly. No more multiple input variables or complex setup!
To use this GitHub Action, follow these steps in your workflow file:
name: Set up WireGuard Connection
on:
push:
branches:
- main
jobs:
wireguard:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up WireGuard Connection
uses: niklaskeerl/easy-wireguard-action@v2
with:
WG_CONFIG_FILE: ${{ secrets.WG_CONFIG_FILE }}