How do I set up github actions / workflows? #42
-
|
I want to set up
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
1. Get the workflowsA. Copy the apply, sync, and apply-dry-run workflows to your repo's B. In all three files, replace 2. Set up secretsGo to 3. Validate behaviorA. For B. For It's a good idea to check the 4. Finished!Now you can sit back, relax, and enjoy the automation! |
Beta Was this translation helpful? Give feedback.




1. Get the workflows
A. Copy the apply, sync, and apply-dry-run workflows to your repo's
.github/workflows/dir.B. In all three files, replace
YOUR_ACCOUNT_ID_HEREandYOUR_SPYGLASS_DIR_HEREwith your Snowflake account ID and location of your spyglass directory. See How do I set up the CLI? for more information on those values.2. Set up secrets
Go to
Settings -> Secrets and variables -> Actionsand create aSNOWSQL_CONFIGsecret and paste in the contents of your~/.snowsql/configfile (created during initial setup).3. Validate behavior
A. For
apply, you can push to your master/main branch and check the output of the dry run before replacing the--dry-runflag with the--confirmflag.B.