This Github action triggers a job run for a job that has been deployed on Porter.
steps:
- name: Run Porter job
uses: porter-dev/[email protected]
with:
job: job-name
cluster: 1234
project: 4321
token: ${{ secrets.PORTER_TOKEN }}
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.