This commit is contained in:
Rizky
2024-02-15 06:30:16 +07:00
parent 02a2e0c121
commit 7e3134d5c0
2 changed files with 36 additions and 22 deletions
+3 -1
View File
@@ -86,7 +86,9 @@ export const deploy = {
console.log(
`Downloading site deploy: ${this.config.site_id} [ts: ${this.config.deploy.ts}]`
);
const res = await fetch(`${base_url}/prod-zip/${this.config.site_id}`);
const res = await fetch(
`${base_url}/prod-zip/${this.config.site_id}?ts=${Date.now()}`
);
const ts = Date.now();
const file = Bun.file(dir(`app/web/deploy/${ts}.gz`));