mirror of
https://github.com/FlipsideCrypto/livequery-base.git
synced 2026-02-06 11:16:44 +00:00
cleanup dbt workflow (#72)
This commit is contained in:
parent
e55623afd3
commit
5f341f2138
7
.github/workflows/dbt.yml
vendored
7
.github/workflows/dbt.yml
vendored
@ -5,7 +5,6 @@ on:
|
||||
warehouse:
|
||||
required: false
|
||||
type: string
|
||||
default: DBT_CLOUD
|
||||
environment:
|
||||
required: true
|
||||
type: string
|
||||
@ -47,10 +46,6 @@ jobs:
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
dbt deps
|
||||
- name: Set warehouse from input.warehouse if workflow_dispatch
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
run: |
|
||||
echo "WAREHOUSE=${{ inputs.warehouse }}" >> "$GITHUB_ENV"
|
||||
- name: Run DBT Jobs
|
||||
run: |
|
||||
${{ inputs.command }}
|
||||
@ -58,7 +53,7 @@ jobs:
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dbt-logs
|
||||
name: logs-${{ inputs.environment }}-${{ github.run_id }}-$GITHUB_RUN_ATTEMPT
|
||||
path: |
|
||||
logs
|
||||
target
|
||||
|
||||
Loading…
Reference in New Issue
Block a user