Skip to content

chore: fix docs action #1

chore: fix docs action

chore: fix docs action #1

on:
push:
branches: ['main']
workflow_dispatch: {}
permissions:
contents: write
pull-requests: write
name: build-and-commit-docs
jobs:
build-docs:
# prevent subsequent commits from triggering the job multiple times
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
name: "Build documentation."
uses: ./.github/workflows/build.yml
commit-docs:
needs: [build-docs]
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:

Check failure on line 27 in .github/workflows/build_and_commit_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_and_commit_docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'docs: generate docs from latest main [skip-ci]'
delete-branch: true