Skip to content

Commit

Permalink
update readme to include organization
Browse files Browse the repository at this point in the history
  • Loading branch information
markandersontrocme committed Dec 6, 2024
1 parent 53fe639 commit adddae7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ and add the following step to your workflow:

```yaml
- name: Install and login with up
uses: upbound/action-up@v0.1.0
uses: upbound/action-up@v1.0.0
with:
token: ${{ secrets.UP_API_TOKEN }}
organization: my-org
```
`up` will now be available in the environement and can be used in follow steps.
As an example, you can set your Upbound context:

```yaml
- name: Install and login with up
uses: upbound/action-up@v0.1.0
uses: upbound/action-up@v1.0.0
with:
token: ${{ secrets.UP_API_TOKEN }}
organization: my-org
- name: Set Upbound context
run: up ctx my-org/upbound-gcp-us-west-1/default/my-ctp
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ inputs:
description: 'Organization to select when login'
default: ''

branding:
color: 'purple'

runs:
using: node20
main: dist/index.js

0 comments on commit adddae7

Please sign in to comment.