Commit fc1c198c authored by Nicholas Karsky's avatar Nicholas Karsky
Browse files

Fixed if statement for upload

parent 95a97869
Pipeline #19778 passed with stages
in 22 seconds
......@@ -186,7 +186,7 @@ azure_deploy:
#Update Catalog
- |
if [ ../../data/*_catalog_*.json ]; then
if [ -f ../../data/*_catalog_*.json ]; then
accountKey=$(kubectl get secret airflow -n osdu -o jsonpath='{.data.azurestorageaccountkey}' | base64 -d)
accountName=$(kubectl get secret airflow -n osdu -o jsonpath='{.data.azurestorageaccountname}' | base64 -d)
az storage file upload --account-name $accountName --account-key $accountKey --share-name $SHARE_NAME --source ../../data/*_catalog_*.json
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment