We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 984253a commit 9f2bdf8Copy full SHA for 9f2bdf8
packages/playground/scripts/upload_bundle.mjs
@@ -62,7 +62,6 @@ const rcloneOpts = (process.env.CI
62
63
const remote = process.env.RCLONE_REMOTE || "rescript";
64
const bucket = "cdn-assets";
65
-const dest = `${remote}:${bucket}/${tag}`;
66
67
// Create a temporary directory for bundling
68
const tmpDir = path.join(playgroundDir, ".tmp");
@@ -91,11 +90,11 @@ exec(`tar \\
91
90
console.log(`Uploading v${version} artifacts...`);
92
exec(`rclone sync ${rcloneOpts} --fast-list \\
93
"${artifactsDir}" \\
94
- "${dest}"
+ "${remote}:${bucket}/${tag}"
95
`);
96
97
console.log("Uploading archive...");
98
exec(`rclone copyto ${rcloneOpts} \\
99
"${archivePath}" \\
100
- "${dest}.tar.zst"
+ "${remote}:${bucket}/playground-bundles/${tag}.tar.zst"
101
0 commit comments