Skip to content

Commit

Permalink
ci: trigger godocs generation on release (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Oct 11, 2023
1 parent 1d5c442 commit e954363
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/create-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ jobs:
with:
repo: ${{ github.event.repository.full_name }}
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}

- name: Generate godocs
if: ${{ steps.release.outputs.releases_created }}
run: |
version=$(jq -r '. | to_entries[0] | .value' .release-please-manifest.json)
curl -X POST https://pkg.go.dev/fetch/github.com/lithic-com/lithic-go@v${version}

0 comments on commit e954363

Please sign in to comment.