Skip to content

Commit 2b391b8

Browse files
committed
Fix caching issues
1 parent 8a21e52 commit 2b391b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tests/upload_rcpsnaps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ for FILE_PATH in "${DIR_PATH}"/*.rpcsnap.json; do
3535
zstd -f "$FILE_PATH" -o "$COMPRESSED_FILE"
3636

3737
if [ $? -eq 0 ]; then
38-
s3cmd --quiet --no-progress put "${COMPRESSED_FILE}" "${BUCKET_URL}" --acl-public --mime-type="application/json"
38+
s3cmd --quiet --no-progress put "${COMPRESSED_FILE}" "${BUCKET_URL}" --acl-public --mime-type="application/json" --add-header="Cache-Control: no-cache, no-store, must-revalidate"
3939
if [ $? -eq 0 ]; then
4040
echo "✅ Uploaded: ${COMPRESSED_FILE}"
4141
# echo " 📎 URL: https://${SPACE_NAME}.${REGION}.digitaloceanspaces.com/${DEST_PATH}"

0 commit comments

Comments
 (0)