cleanup dbt workflow (#72)

This commit is contained in:
Julius Remigio 2023-10-26 18:03:01 -07:00 committed by GitHub
parent e55623afd3
commit 5f341f2138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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