https://github.com/porter-dev/porter-run-job-action
Github action for triggering a job run on Porter.
https://github.com/porter-dev/porter-run-job-action
Last synced: about 1 year ago
JSON representation
Github action for triggering a job run on Porter.
- Host: GitHub
- URL: https://github.com/porter-dev/porter-run-job-action
- Owner: porter-dev
- Created: 2021-09-17T18:29:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T20:51:09.000Z (almost 2 years ago)
- Last Synced: 2025-02-16T16:56:52.030Z (about 1 year ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# porter-run-job-action
This Github action triggers a job run for a job that has been deployed on Porter.
## Usage
```yaml
steps:
- name: Run Porter job
uses: porter-dev/porter-run-job-action@v0.1.0
with:
job: job-name
cluster: 1234
project: 4321
token: ${{ secrets.PORTER_TOKEN }}
```
## Configuration Options
The possible inputs are:
- `job`: (string, required): Name of job.
- `cluster`: (number, required): Cluster ID of Porter cluster.
- `host`: (string, optional): Host URL of Porter instance. Set this if you use a self-hosted Porter instance.
- `namespace`: (string, optional): Namespace of the application (default "default")
- `project`: (number, required): Project ID of Porter project.
- `token`: (string, required): Token for Porter authentication.