Skip to content

use 9.15.0 again

use 9.15.0 again #536

name: Generate markdown files
on: push
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install deps
run: pnpm i
- name: generate-docs
run: pnpm run docs
- name: Auto Generate Markdown Files
id: generate-markdown
uses: EndBug/[email protected]
with:
message: "Auto generated documentation"
add: "*.md"
push: true
pull: --rebase --autostash
default_author: github_actions
- name: Fail on push
run: |
if [[ ${{ steps.generate-markdown.outputs.pushed }} == true ]]; then exit 1; else exit 0; fi