Skip to content

Commit

Permalink
Update entrypoint.sh so that input_sync_dir only corresponds to a gs …
Browse files Browse the repository at this point in the history
…path
  • Loading branch information
davidoort authored Aug 18, 2023
1 parent 4919fa0 commit 521cf07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rm /secrets.json

# Sync files to bucket
echo "Syncing bucket $BUCKET ..."
gsutil -m rsync -r -c -d -x "$INPUT_EXCLUDE" /github/workspace/$INPUT_SYNC_DIR gs://$INPUT_BUCKET/$INPUT_SYNC_DIR
gsutil -m rsync -r -c -d -x "$INPUT_EXCLUDE" /github/workspace/ gs://$INPUT_BUCKET/$INPUT_SYNC_DIR
if [ $? -ne 0 ]; then
echo "Syncing failed"
exit 1
Expand Down

0 comments on commit 521cf07

Please sign in to comment.