Skip to content

chore(deps): bump zensical from 0.0.41 to 0.0.50 #55

chore(deps): bump zensical from 0.0.41 to 0.0.50

chore(deps): bump zensical from 0.0.41 to 0.0.50 #55

Workflow file for this run

# Standalone script documentation workflow — AST parser + Zensical
# Uses Export-ScriptDocumentation.ps1 (AST-based) instead of PlatyPS.
#
# docs/commands/ is gitignored — generated fresh in CI.
name: Publish Docs
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'requirements.txt'
- '**/*.ps1'
- '.github/workflows/docs.yml'
pull_request:
branches: [main]
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'requirements.txt'
- '**/*.ps1'
- '.github/workflows/docs.yml'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
# On PR: build-only validation (no deploy environment binding).
# On push to main: full build + deploy with github-pages environment.
environment: ${{ github.event_name == 'push' && 'github-pages' || null }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Generate script documentation
shell: pwsh
run: |
$params = @{
ScriptPath = '.'
OutputPath = './docs/commands'
ProjectName = 'ADPermissionsAnalyzer'
ProjectDescription = 'Comprehensive DACL ACE inventory across all AD naming contexts for least-privilege analysis.'
}
./Export-ScriptDocumentation.ps1 @params
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
cache: 'pip'
- name: Install Zensical
run: pip install -r requirements.txt
- name: Build site
run: zensical build
- name: Upload Pages artifact
if: github.event_name == 'push'
uses: actions/upload-pages-artifact@v5
with:
path: site/
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
id: deployment
uses: actions/deploy-pages@v5