Skip to content

Commit

Permalink
generate: Remove output dir after uploading contents
Browse files Browse the repository at this point in the history
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Mar 14, 2024
1 parent 1bb8f9b commit e348f77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ EOF
</html>
EOF
aws s3 cp "$OUTPUT_DIR/index.html" "s3://instruct-lab-bot/generate/${OUTPUT_DIR}/index.html"
rm -rf "${OUTPUT_DIR}"
aws s3 presign --region us-east-2 "s3://instruct-lab-bot/generate/${OUTPUT_DIR}/index.html"
}

Expand Down

0 comments on commit e348f77

Please sign in to comment.