Browse Source

fix action, typos

pull/1814/head
Bernd Storath 4 months ago
parent
commit
aac6ce7771
  1. 31
      .github/workflows/lint.yml
  2. 2
      docs/content/guides/clients.md

31
.github/workflows/lint.yml

@ -7,9 +7,36 @@ on:
pull_request: pull_request:
jobs: jobs:
docs:
name: Check Docs
runs-on: ubuntu-latest
if: github.repository_owner == 'wg-easy'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "lts/*"
check-latest: true
cache: "pnpm"
- name: Check docs formatting
run: |
pnpm install
pnpm format:check:docs
lint: lint:
name: Lint name: Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: docs
if: github.repository_owner == 'wg-easy' if: github.repository_owner == 'wg-easy'
strategy: strategy:
@ -34,10 +61,6 @@ jobs:
check-latest: true check-latest: true
cache: "pnpm" cache: "pnpm"
- name: Chec docs formatting
run: |
pnpm format:check:docs
- name: pnpm ${{ matrix.command }} - name: pnpm ${{ matrix.command }}
run: | run: |
cd src cd src

2
docs/content/guides/clients.md

@ -17,7 +17,7 @@ title: Edit Client
Which IPs will be routed through the VPN. Which IPs will be routed through the VPN.
This will not prevent the user from modifing it locally and accessing IP ranges that they should not be able to access. This will not prevent the user from modifying it locally and accessing IP ranges that they should not be able to access.
Use firewall rules to prevent access to IP ranges that the user should not be able to access. Use firewall rules to prevent access to IP ranges that the user should not be able to access.

Loading…
Cancel
Save