mirror of
https://github.com/FlipsideCrypto/analytics-workflow-templates.git
synced 2026-02-06 11:17:52 +00:00
Merge pull request #13 from FlipsideCrypto/AN-4034/add-grant-stmts-to-deploy-template
call datashare grants as last step of deployment
This commit is contained in:
commit
7207ff4b88
@ -66,3 +66,4 @@ jobs:
|
||||
- name: Run datashare model
|
||||
run: |
|
||||
cnt=$(dbt ls -m fsc_utils.datashare._datashare___create_gold | wc -l ); if [ $cnt -eq 1 ]; then dbt run -m fsc_utils.datashare._datashare___create_gold; fi;
|
||||
dbt run-operation run_query --args "{sql: call admin.datashare.sp_grant_share_permissions('${{ env.DATABASE }}')}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user