Skip to content

Commit

Permalink
improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
aatarasoff authored Nov 30, 2023
1 parent 25e527f commit 914d4e5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -25,6 +25,14 @@ steps:
- name: Install pbuf-cli
uses: pbufio/[email protected]
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
```

- 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 }}
```

0 comments on commit 914d4e5

Please sign in to comment.