This commit is contained in:
WHYTEWYLL 2024-04-12 14:59:13 +03:00
parent 8f95339269
commit 96ffc9f129
2 changed files with 2 additions and 3 deletions

View File

@ -19,7 +19,6 @@ env:
DATABASE: "${{ vars.DATABASE }}"
WAREHOUSE: "${{ vars.WAREHOUSE }}"
SCHEMA: "${{ vars.SCHEMA }}"
GB_ID: "${{ vars.GB_ID }}"
concurrency:
group: ${{ github.workflow }}
@ -43,7 +42,7 @@ jobs:
- name: Run DBT Jobs
run: |
dbt run-operation dispatch_github_workflow --args "{'repo_name': 'streamline-snowflake', 'workflow_name': 'dbt_run_near_external_table_update', 'gb_id': '${{ vars.GB_ID}}'}";
dbt run-operation dispatch_github_workflow --args "{'repo_name': 'streamline-snowflake', 'workflow_name': 'dbt_run_near_external_table_update', 'gb_id': '${{ secrets.GB_ID}}'}";
- name: Store logs
uses: actions/upload-artifact@v3

View File

@ -4,7 +4,7 @@
{% endset %}
{% do run_query(context_query) %}
{% set query %}
SELECT github_actions.workflow_dispatches('FlipsideCrypto', '{{ repo_name }}', '{{ workflow_name }}.yml', NULL)
SELECT livequery_dev.github_actions.workflow_dispatches('FlipsideCrypto', '{{ repo_name }}', '{{ workflow_name }}.yml', NULL)
{% endset %}
{% do run_query(query) %}
{% endmacro %}