Skip to content

Commit

Permalink
Push to buf (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode authored Nov 16, 2023
1 parent d38351d commit 0f7d3e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ jobs:
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null
- name: build-and-publish
run: cs3apis-build -git-ssh -push-go -push-js -push-node -push-python
- name: setup-buf
uses: bufbuild/buf-setup-action@v1
- name: push-buf
uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
# Push as a branch when not pushing to `main`
branch: ${{ github.ref_name != 'main' }}

0 comments on commit 0f7d3e1

Please sign in to comment.