Skip to content

Generating docs for refs/pull/32/merge #2

Generating docs for refs/pull/32/merge

Generating docs for refs/pull/32/merge #2

name: ci-docs-workflow
run-name: Generating docs for ${{ github.ref }}
on:
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install deps
run: npm i
- name: Generate docs
run: npx oclif readme
- name: Commit docs
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "Generate docs: ${{ github.ref }}"
git push