Home

Awesome

setup-tbls

GitHub Action for tbls

Usage

And set up a workflow file as follows and run tbls on GitHub Actions.

# .github/workflows/doc.yml
name: Document

on:
  push:
    branches:
      - main

jobs:
  doc:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout .tbls.yml
        uses: actions/checkout@v3
      -
        uses: k1low/setup-tbls@v1
      -
        name: Run tbls for generate database document
        run: tbls doc

See action.yml and tbls README for more details on how to configure it.