Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrisb committed Oct 31, 2024
1 parent 54a6bae commit 9cc4566
Show file tree
Hide file tree
Showing 7 changed files with 1,330 additions and 1,705 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ jobs:
password: ${{ secrets.CF_PASSWORD }}
org: ${{ secrets.CF_ORG }}
space: ${{ secrets.CF_SPACE }}
command: stacks
- name: access cloud foundry api
run: cf stacks
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This action provides the following functionality for GitHub Actions users:
- Client Credentials with JWT
- JWT Bearer Token Grant
- Target Org and Space
- Run a cf command

## Basic usage

Expand All @@ -25,8 +24,7 @@ steps:
password: ${{ secrets.CF_PASSWORD }}
org: test
space: dev
command: push --strategy rolling
- name: run command with shell
- name: run cf command
run: cf apps
```
Expand All @@ -42,8 +40,6 @@ steps:
* client id for `client_credentals` or `jwt-bearer`
* `client_secret`
* client secret for `client_credentals` or `jwt-bearer`
* `command`
* run optionally a cf command
* `grant_type`
* grant type for access
* required
Expand Down
5 changes: 1 addition & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ inputs:
client_secret:
description: "client secret"
required: false
command:
description: "run cf command"
required: false
grant_type:
description: "grant type for requesting token"
required: true
Expand All @@ -43,7 +40,7 @@ inputs:
version:
description: "cf cli version"
required: true
default: "8.8.2"
default: "8.8.3"
runs:
using: "node20"
main: "dist/index.js"
Loading

0 comments on commit 9cc4566

Please sign in to comment.