Skip to content

Commit

Permalink
path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhishekSingh1180 committed Feb 24, 2024
1 parent 3977930 commit 70a7760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/Deployment/deployment.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

FOLDER_PATH='resources/Storage/apcha.csv'
FOLDER_PATH='resources/Storage/*'

# Set project ID and region from Project Secrets
read -r PROJECT_NAME REGION <<< $(echo "$1" | tr ',' ' ')
Expand All @@ -12,4 +12,4 @@ read -r BUCKET_NAME GCS_FOLDER <<< $(echo "$2" | tr ',' ' ')
gcloud storage buckets create gs://$BUCKET_NAME --project=$PROJECT_NAME --location=$REGION --no-public-access-prevention --no-uniform-bucket-level-access

# cp local folder to GCS bucket
gcloud storage cp $FOLDER_PATH gs://$BUCKET_NAME/$GCS_FOLDER/
gcloud storage cp $FOLDER_PATH gs://$BUCKET_NAME
File renamed without changes.

0 comments on commit 70a7760

Please sign in to comment.