26 lines
No EOL
556 B
YAML
26 lines
No EOL
556 B
YAML
name: auto-documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
documentation:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 8.6.6
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
- run: pnpm i
|
|
- run: pnpm run docs
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: ${{ github.event.head_commit.message }} + Documentation |