Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 707 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 707 Bytes

Easy WireGuard Connection

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!

Usage

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 }}