Sample: Auto generate docs for CLI #11
Workflow file for this run
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: Generate and Deploy Documentation | |
on: | |
push: | |
paths: | |
- 'tembo-cli/**' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'tembo-cli/**' | |
branches: | |
- main | |
- develop | |
- feature/* | |
jobs: | |
generate_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install system dependencies | |
run: | | |
set -xe | |
sudo apt-get update | |
- name: Generate and Deploy Docs | |
uses: ./.github/actions/generate-docs | |
with: | |
repository: 'tembo-io/tembo' | |
ssh_key: ${{ secrets.SERVICE_USER_GITHUB_SSH_KEY }} | |
branch: 'plat-410' | |
repo_into: 'tembo-io/website' |