Skip to content

docs: generate 6.11 documentation [skip-ci] (#4287) #855

docs: generate 6.11 documentation [skip-ci] (#4287)

docs: generate 6.11 documentation [skip-ci] (#4287) #855

Workflow file for this run

name: Build and commit docs
on:
push:
branches: ['main']
permissions:
contents: write
pull-requests: write
jobs:
build:
# prevent subsequent commits from triggering the job multiple times
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node and dependencies
uses: mongodb-labs/drivers-github-tools/node/setup@v2
- run: sudo apt-get install hugo
- name: Build Docs
run: npm run build:docs -- --yes
- name: Open Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: 'docs: generate docs from latest main [skip-ci]'
delete-branch: true