Skip to content

triedandtested-dev/trigger-dbt-cloud-job-v2-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

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trigger DBT Cloud Job action

This action triggers a job run hosted on DBT Cloud.

Supports: DBT Cloud API v2.

Inputs.

Required:

  • dbt_cloud_token - DBT cloud api token.
  • dbt_cloud_account_id - DBT cloud account id.
  • dbt_cloud_job_id - DBT cloud job id.

Optional:

  • cause - Cause message to use. [Default="Triggered from Github"].
  • interval - The interval between polls in seconds. [Default=30].

Example usage.

uses: triedandtested-dev/trigger-dbt-cloud-job-v2-action@v1.3
with:
  dbt_cloud_token: '${{ secrets.DBT_CLOUD_API_TOKEN }}'.
  dbt_cloud_account_id: ${{ secrets.DBT_ACCOUNT_ID }}
  dbt_cloud_job_id: 00000 # id of job you want to run.
  cause: 'Tiggered from my action'
  interval: 30