Skip to content

docs: Add documentation for mod_target_category (#4235) #1034

docs: Add documentation for mod_target_category (#4235)

docs: Add documentation for mod_target_category (#4235) #1034

Workflow file for this run

name: Deploy starlight documentation to GitHub Pages
on:
push:
branches: [main]
paths: [doc/**]
workflow_dispatch:
defaults:
run:
working-directory: doc
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-22.04
environment: github-pages
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload site
uses: withastro/action@v0
with:
path: doc
node-version: 20
package-manager: pnpm
pnpm-version: 8.7.x
env:
CUSTOM_SITE_URL: ${{ vars.CUSTOM_SITE_URL }}
CUSTOM_REPO_URL: ${{ vars.CUSTOM_REPO_URL }}
deploy:
needs: build
runs-on: ubuntu-22.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1