Skip to content

Commit

Permalink
fetch only branches needed
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Dec 5, 2024
1 parent b1af3c4 commit 78f796b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
git config --global user.name "$(git log -n 1 --pretty=format:%an)"
git config --global user.email "$(git log -n 1 --pretty=format:%ae)"
git fetch origin
git fetch origin main
git fetch origin gh_pages
git checkout gh_pages
git merge main
git merge origin/main
GOBIN=/tmp/ go install github.com/google/[email protected]
/tmp/go-licenses csv ./cmd/apigeecli > third-party-licenses.txt || echo "Ignore warnings"
Expand Down

0 comments on commit 78f796b

Please sign in to comment.