Files
Nexus-Guard-Suite/.gitea/workflows/docs_call.yaml
T
datadunia 8dd5834be2
CI / release (push) Successful in 26s
CI / server-core-test (push) Has been skipped
CI / device-agent-test (push) Has been skipped
CI / dashboard-test (push) Has been skipped
CI / build-server-core (push) Successful in 3m39s
CI / build-device-agent (push) Successful in 1m35s
CI / build-dashboard (push) Successful in 52s
CI / build-docs (push) Successful in 1m7s
ci: revert persist-credentials to true (runner now uses https://git.datadunia.com)
2026-06-10 14:10:54 +07:00

37 lines
889 B
YAML

name: Build Docs
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Configure git auth for submodules
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
- 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
working-directory: apps/docs
run: npm ci || npm install
- name: Build
working-directory: apps/docs
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: docs-dist
path: apps/docs/.vitepress/dist/