mirror of
https://github.com/FlipsideCrypto/blast-models.git
synced 2026-02-06 15:26:45 +00:00
recreate udfs command in dev refresh (#50)
This commit is contained in:
parent
eb01b00f31
commit
eb103688e4
28
.github/workflows/dbt_run_dev_refresh.yml
vendored
28
.github/workflows/dbt_run_dev_refresh.yml
vendored
@ -23,7 +23,7 @@ concurrency:
|
||||
group: ${{ github.workflow }}
|
||||
|
||||
jobs:
|
||||
run_dbt_jobs:
|
||||
run_dbt_jobs_refresh:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: workflow_prod
|
||||
@ -40,6 +40,28 @@ jobs:
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
dbt deps
|
||||
- name: Run DBT Jobs
|
||||
- name: Run Dev Refresh
|
||||
run: |
|
||||
dbt run-operation run_sp_create_prod_clone
|
||||
dbt run-operation run_sp_create_prod_clone
|
||||
|
||||
run_dbt_jobs_udfs:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: workflow_dev
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
cache: "pip"
|
||||
|
||||
- name: install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
dbt deps
|
||||
- name: Run Recreate UDFs
|
||||
run: |
|
||||
dbt run-operation fsc_utils.create_udf_bulk_rest_api_v2 --vars '{"UPDATE_UDFS_AND_SPS":True}'
|
||||
dbt run -s livequery_models.deploy.core._live --vars '{"UPDATE_UDFS_AND_SPS":True}'
|
||||
Loading…
Reference in New Issue
Block a user