mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 02:26:56 +00:00
chore: action for validating doc links
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
28
.github/workflows/validate-docs-links.yml
vendored
Normal file
28
.github/workflows/validate-docs-links.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "Validate: Docs"
|
||||
|
||||
on:
|
||||
# Triggered manually
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, ready_for_review, labeled]
|
||||
branches: [develop]
|
||||
paths:
|
||||
- "packages/noco-docs/**"
|
||||
|
||||
jobs:
|
||||
validate-docs:
|
||||
runs-on: [self-hosted, aws]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.19.1
|
||||
- name: Build docs
|
||||
run: |
|
||||
cd packages/noco-docs
|
||||
npm install
|
||||
npm run generate
|
||||
npm run remark:once
|
||||
Reference in New Issue
Block a user