From 914d4e5f95186372338f7ca6093c91dc7d5459fb Mon Sep 17 00:00:00 2001 From: Aleksandr Tarasov Date: Thu, 30 Nov 2023 21:05:07 +0300 Subject: [PATCH] improve example --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4144571..a742233 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The `pbuf-setup` GitHub Action is designed to install `pbuf-cli`, a command-line - **Token Auth Support**: Supports usage of a `pbuf_token` for operations requiring authentication with the PBUF registry. ## Inputs -- **`version`**: The version of the CLI to install. Default is 'v0.3.2'. This input is optional. +- **`version`**: The version of the CLI to install. The default is 'v0.3.2'. This input is optional. - **`pbuf_token`**: The API token for authenticating with the PBUF registry. This input is optional. ## Usage @@ -25,6 +25,14 @@ steps: - name: Install pbuf-cli uses: pbufio/pbuf-setup-action@v1.0.0 with: - version: 'v0.3.2' # Optional, specify the desired version + version: 'v0.3.2' # Optional. Specify the desired version pbuf_token: ${{ secrets.PBUF_TOKEN }} # Optional, your PBUF API token -``` \ No newline at end of file + +- name: Register Module + id: pbuf-register + run: pbuf-cli modules register + +- name: Push module + id: pbuf-push + run: pbuf-cli modules push ${{ github.ref_name }} +```