https://github.com/prodvana/configs-apply-action
https://github.com/prodvana/configs-apply-action
actions github-actions
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/prodvana/configs-apply-action
- Owner: prodvana
- License: mit
- Created: 2023-10-23T22:06:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T21:32:14.000Z (over 2 years ago)
- Last Synced: 2025-02-08T12:19:46.996Z (over 1 year ago)
- Topics: actions, github-actions
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# configs-apply Github Action
This action is used to automatically apply Prodvana config files in a repository.
# Requirements
- [pvnctl](https://github.com/prodvana/pvnctl) present in the CI environment
- We recommend using [init-pvnctl-action](https://github.com/prodvana/init-pvnctl-action) to handle installation and authentication initialization
# Usage
## Inputs
| Input | Default | Description |
| ------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| path | (required) | Path to configs to apply. Can include ... to apply all subdirectories. |
| auth_context | default | pvnctl auth context to use. If you're using this action with init-pvnctl, leave as the default |
## Basic Usage
```yaml
steps:
# pvnctl must be installed in your Action environment for configs-apply
- uses: prodvana/init-pvnctl-action@v0.1.0
with:
org: my-org
api_token: ${{ secrets.YOUR_PRODVANA_API_TOKEN }}
- uses: prodvana/configs-apply-action@v0.1.1
with:
path: pvn-configs/...
- uses: prodvana/configs-apply-action@v0.1.1
with:
path: path/to/a/config.pvn.yaml
```