zdharma-continuum.zinit/.github/workflows/documentation.yaml
dependabot[bot] 0a1ee8271e
build(deps): bump actions/checkout from 3 to 4 (#573)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:51:21 +02:00

39 lines
852 B
YAML

name: Documentation
on:
pull_request:
branches:
- main
paths:
- 'zinit*.zsh'
push:
branches:
- main
workflow_dispatch:
jobs:
zshelldoc:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: re-generate documentation
run: |
make doc/container
sudo chown -R "$(id -u):$(id -g)" .
- name: commit changes to the current branch
uses: EndBug/add-and-commit@v9
with:
add: 'doc'
author_name: GitHub Actions
author_email: actions@github.com
commit: --signoff
message: 'docs: generate'
push: true