Skip to content

Commit

Permalink
Add fetch in Generate_doc Action file (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajerin authored Apr 25, 2024
1 parent c2eaab2 commit f8cb13c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/actions/generate-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,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

0 comments on commit f8cb13c

Please sign in to comment.