Plat 410 sample 2 #60
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: Set version strings | |
id: versions | |
run: | | |
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | |
echo "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | |
- name: Generate and Deploy Docs | |
uses: ./.github/actions/generate-docs | |
with: | |
tembo_repository: 'tembo-io/tembo' | |
ssh_key: ${{ secrets.SERVICE_USER_GITHUB_SSH_KEY }} | |
tembo_branch: 'main' | |
website_branch: 'cli-updates' | |
website_repository: 'tembo-io/website' |