Skip to content

Github action for triggering a job run on Porter.

Notifications You must be signed in to change notification settings

porter-dev/porter-run-job-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

porter-run-job-action

This Github action triggers a job run for a job that has been deployed on Porter.

Usage

steps:
  - name: Run Porter job
    uses: porter-dev/[email protected]
    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.