Skip to content

Generate Reference Pages #2

Generate Reference Pages

Generate Reference Pages #2

Workflow file for this run

name: Generate Reference Pages
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
workflow_dispatch:
permissions:
contents: write
id-token: write
jobs:
cli-reference:
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate CLI Reference
working-directory: generator
run: dotnet run -- cli refout
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: cli-${{ matrix.os }}
path: generator/refout/*
complete:
runs-on: ubuntu-latest
needs: [cli-reference]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate
working-directory: generator
run: dotnet run
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: docs/reference/cli/content
pattern: cli-*
merge-multiple: true
- name: test
run: ls -la docs/reference/cli/content