Skip to content

Commit

Permalink
added build step to deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jhansen committed Mar 7, 2024
1 parent 07e4480 commit f1fb289
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy_snowpark_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@
os.chdir(f"{directory_path}")
# Make sure all 6 SNOWFLAKE_ environment variables are set
# SnowCLI accesses the passowrd directly from the SNOWFLAKE_PASSWORD environmnet variable
os.system(f"snow snowpark build")
os.system(f"snow snowpark deploy --replace --temporary-connection --account $SNOWFLAKE_ACCOUNT --user $SNOWFLAKE_USER --role $SNOWFLAKE_ROLE --warehouse $SNOWFLAKE_WAREHOUSE --database $SNOWFLAKE_DATABASE")

0 comments on commit f1fb289

Please sign in to comment.