chore(main): release 6.9.0 [skip-ci] (#4164) #802
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |