Files
Nexus-Guard-Suite/.gitea/workflows/docs_call.yaml
T
datadunia 5b5a4aa009
CI / server-core-test (push) Failing after 18s
CI / device-agent-test (push) Failing after 14s
CI / dashboard-test (push) Failing after 15s
CI / build-server-core (push) Has been skipped
CI / build-device-agent (push) Has been skipped
CI / build-dashboard (push) Has been skipped
CI / build-docs (push) Has been skipped
CI / release (push) Has been skipped
ci: add BUILD_TOKEN for submodule checkout authentication
2026-06-10 04:26:22 +07:00

35 lines
681 B
YAML

name: Build Docs
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/docs
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
token: ${{ secrets.BUILD_TOKEN }}
persist-credentials: true
- uses: actions/setup-node@v4
with:
node-version: '24'
- name: Install
run: npm ci || npm install
- name: Build
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs-dist
path: apps/docs/.vitepress/dist/