https://github.com/cloudtruth/cli-action
https://github.com/cloudtruth/cli-action
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudtruth/cli-action
- Owner: cloudtruth
- License: apache-2.0
- Created: 2021-02-25T19:37:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T17:51:35.000Z (over 4 years ago)
- Last Synced: 2025-10-01T10:08:15.737Z (4 months ago)
- Language: JavaScript
- Size: 185 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudTruth CLI Action
[CloudTruth GitHub action](https://docs.cloudtruth.com/integrations/github-actions) that installs the [CloudTruth CLI](https://docs.cloudtruth.com/configuration-management/cli-and-api/cloudtruth-cli)
# Example usage
Set the [CloudTruth API Key](https://docs.cloudtruth.com/organization-management/access-tokens) as a secret in your [GitHub repository](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository) and call it in the action.
```
env:
CLOUDTRUTH_API_KEY: ${{ secrets.CLOUDTRUTH_API_KEY }}
```
Include this Action as a step in your GitHub Action workflow:
```
steps:
- uses: cloudtruth/cli-action@v2
```
Use ``with: version:`` to install a specific version:
```
steps:
- uses: cloudtruth/cli-action@v2
with:
version: 1.0.1
```