Skip to content

support :execrows for sqlite (#161) #62

support :execrows for sqlite (#161)

support :execrows for sqlite (#161) #62

Workflow file for this run

name: Docs
defaults:
run:
shell: bash
permissions:
contents: write
pull-requests: write
on:
push:
branches: [ "main" ]
paths:
- "sqlc.ci.yaml"
- "docs/**"
- "examples/**"
- "*Tests/**"
- "Drivers/**"
- ".github/workflows/**"
release:
types: [ published ]
jobs:
generate-and-push-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Updating docs
run: |
./scripts/docs/generate_quickstart.sh 02_Quickstart.md
./scripts/docs/generate_examples.sh __Examples.md
cat docs/0*.md | grep -v "This section was auto-generated by" > README.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
base: ${{ github.head_ref }}
title: update auto-generated docs
commit-message: update docs
branch: update-docs
branch-suffix: timestamp
delete-branch: true