-
Notifications
You must be signed in to change notification settings - Fork 36
35 lines (31 loc) · 993 Bytes
/
tembo_cli.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Generate and Deploy Documentation
on:
push:
paths:
- 'tembo-cli/**'
- '.github/workflows/tembo_cli.yml'
- '.github/actions/generate-docs/**'
branches:
- main
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'