mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
852 B
YAML
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
|