Skip to content

Commit

Permalink
revert accidental push
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Sep 30, 2021
1 parent ee7560f commit 0faf7e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ fi

deploy_function() {
env GOOS=linux GOARCH=amd64 go build -o bootstrap
# zip -j -y -q "$1.zip" bootstrap
zip -j -y -q "$1.zip" bootstrap

# aws s3 cp --no-progress "$1.zip" "$BUCKET"
aws s3 cp --no-progress "$1.zip" "$BUCKET"
if [ -n "$BUCKET2" ]; then
aws s3 cp --no-progress "$1.zip" "$BUCKET2"
fi
# rm "$1.zip"
rm "$1.zip"
}

echo "> Deploying functions to $BUCKET"
Expand Down

0 comments on commit 0faf7e3

Please sign in to comment.