Skip to content

Commit

Permalink
Merge branch 'main' into chore/ramin/codeowners
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin authored May 22, 2024
2 parents 8ec34e2 + 43e5ee5 commit a70fd8d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

upload-docs:
needs: goreleaser
if: github.event_name == 'release'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3

- run: |
make openrpc-gen > openrpc.json
gh release upload ${{github.event.release.tag_name}} openrpc.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ pb-gen:

## openrpc-gen: Generate OpenRPC spec for Celestia-Node's RPC api
openrpc-gen:
@echo "--> Generating OpenRPC spec"
@go run ${LDFLAGS} ./cmd/celestia docgen
.PHONY: openrpc-gen

Expand Down

0 comments on commit a70fd8d

Please sign in to comment.