Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plat 410 sample 2 #747

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
13ae237
initial commit
joshuajerin Apr 17, 2024
ad1ccbc
add action file
joshuajerin Apr 19, 2024
6584a63
testing in pr
joshuajerin Apr 19, 2024
3dd6556
change directory
joshuajerin Apr 19, 2024
4748b80
yml changes 1
joshuajerin Apr 19, 2024
c810ebd
yml changes 2
joshuajerin Apr 19, 2024
2cacacb
changes 3
joshuajerin Apr 19, 2024
787146d
changes 4
joshuajerin Apr 19, 2024
1138750
changes 5
joshuajerin Apr 19, 2024
07f4bd6
changes 6
joshuajerin Apr 19, 2024
292264b
changes 7
joshuajerin Apr 19, 2024
023f1b0
changes 8
joshuajerin Apr 19, 2024
256d97c
changes 9
joshuajerin Apr 19, 2024
6b1d1e8
changes 10
joshuajerin Apr 19, 2024
15e6100
changes 11
joshuajerin Apr 19, 2024
4e533cc
changes 12
joshuajerin Apr 19, 2024
0d295b1
Update command reference documentation
github-info Apr 21, 2024
cba3802
add updated yml files
joshuajerin Apr 24, 2024
6346939
Merge branch 'main' into plat-410
joshuajerin Apr 24, 2024
a6391a9
fmt changes
joshuajerin Apr 24, 2024
f56a922
bump controller
joshuajerin Apr 24, 2024
b40c825
Merge branch 'plat-410' of https://github.com/tembo-io/tembo into pla…
joshuajerin Apr 24, 2024
b1b5dcc
add some requested changes
joshuajerin Apr 24, 2024
6ef8430
add yml changes
joshuajerin Apr 25, 2024
23014ea
Merge branch 'main' into plat-410
joshuajerin Apr 25, 2024
0ca1554
update tembo_branch
joshuajerin Apr 25, 2024
d04aadf
Merge branch 'plat-410' of https://github.com/tembo-io/tembo into pla…
joshuajerin Apr 25, 2024
298abe7
updated yml changes
joshuajerin Apr 25, 2024
fae10ad
check on pr
joshuajerin Apr 25, 2024
bfc2202
Merge branch 'main' of https://github.com/tembo-io/tembo into plat-41…
joshuajerin Apr 25, 2024
d19b640
wegewf
joshuajerin Apr 25, 2024
d0852b5
wef
joshuajerin Apr 25, 2024
5a4392e
ef
joshuajerin Apr 25, 2024
6ff8bef
remove option for checkout
joshuajerin Apr 25, 2024
791eb9f
add fetch too
joshuajerin Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/actions/generate-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ inputs:
website_branch:
description: 'Branch to update with generated documentation.'
required: true

on:
push:
paths:
- 'tembo-cli/**'
branches:
- main
pull_request:
paths:
- 'tembo-cli/**'
branches:
- main
- develop
- feature/*
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -53,8 +65,7 @@ runs:
cd website-repo
git config user.name "coredb-service-user"
git config user.email "[email protected]"
git fetch origin ${{ inputs.website_branch }}
git checkout ${{ inputs.website_branch }} || git checkout -b ${{ inputs.website_branch }}
git fetch origin ${{ inputs.website_branch }} && git checkout ${{ inputs.website_branch }} || git checkout -b ${{ inputs.website_branch }}
cd ..
cp tembo-repo/command-reference.md website-repo/src/content/docs/development/cli/
cd website-repo
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/tembo_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
push:
paths:
- 'tembo-cli/**'
- '.github/workflows/tembo_cli.yml'
branches:
- main
pull_request:
paths:
- 'tembo-cli/**'
branches:
- main
- develop
- feature/*

jobs:
generate_docs:
Expand Down
1 change: 1 addition & 0 deletions tembo-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ struct GlobalOpts {
}

fn main() -> Result<(), anyhow::Error> {

if std::env::args().any(|arg| arg == "--markdown-help") {
clap_markdown::print_help_markdown::<App>();
return Ok(());
Expand Down
Loading