-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (39 loc) · 1001 Bytes
/
run_dbt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Manual DBT Run - dev
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Manually trigger a dev dbt run'
required: false
type: boolean
jobs:
update_prod_target:
runs-on: ubuntu-latest
env:
HOST: ${{ secrets.HOST }}
DATABASE: ${{ secrets.DATABASE }}
USERNAME: ${{ secrets.PROD_USERNAME }}
PASSWORD: ${{ secrets.PROD_PASSWORD }}
PORT: ${{ secrets.PORT }}
SCHEMA: ${{ secrets.PROD_SCHEMA }}
steps:
- uses: "actions/checkout@main"
- name: install requirements
run: pip install -q -r requirements.txt
- name: dbt deps
run: |
cd project_goes_here
dbt deps
- name: dbt build
run: |
cd project_goes_here
dbt build --target dev