https://github.com/mss-boot-io/use-cmd-action
https://github.com/mss-boot-io/use-cmd-action
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mss-boot-io/use-cmd-action
- Owner: mss-boot-io
- License: mit
- Created: 2022-03-04T03:27:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T06:44:00.000Z (about 1 year ago)
- Last Synced: 2025-03-02T08:41:45.712Z (3 months ago)
- Language: TypeScript
- Size: 811 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Use CMD Tool For Action
## usage
```yaml
- name: Discover Staging
uses: mss-boot-io/use-cmd-action@v1
with:
app: endpoint-discover
env:
namespace: staging
configmap_name: endpoint-discover
protocols: 'grpc,http'
config_name: 'endpoints.yml'
```## add your cmd tool
> add your config to file config/cmd-list.json, then pr to this repo's main branch, e.g.:
```json
[
{
"app": "configmap-update",
"source": "https://mss-boot-io.github.io/configmap-update/v0.7/linux_amd64"
},
{
"app": "endpoint-discover",
"source": "https://mss-boot-io.github.io/endpoint-discover/v0.0.4/linux_amd64"
},
{
"app": "your cmd tool name",
"source": "your cmd tool download url "
}
]
```## maybe you can create your config, for example:
```yaml
- name: Discover Staging
uses: mss-boot-io/use-cmd-action@v1
with:
app: endpoint-discover
url: 'your tool list json config'
env:
namespace: staging
configmap_name: endpoint-discover
protocols: 'grpc,http'
config_name: 'endpoints.yml'
```