Skip to content

Update documentation #3649

Update documentation

Update documentation #3649

Workflow file for this run

name: Update documentation
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
update-documentation:
name: Update documentation
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Using Node.js v${{ matrix.node-version }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Generate documentation
run: npm run update:docs
- name: Create Pull Request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
delete-branch: true
commit-message: |
docs: update
title: |
docs: update
body: |
Update documentation.
This PR was autogenerated.
branch: update-docs