Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Dec 19, 2023
1 parent 4da4652 commit 388fb37
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1491,15 +1491,15 @@ const generateSite = async () => {
shelljs_1.exec("npm run export");
shelljs_1.mkdir("-p", "status-page/__sapper__/export");
shelljs_1.cp("-r", "__sapper__/export/*", "status-page/__sapper__/export");
let assetsExists = false;
try {
console.log("../assets", (await fs_extra_1.stat("../assets")).size);
console.log("../../assets", (await fs_extra_1.stat("../../assets")).size);
console.log("../../../assets", (await fs_extra_1.stat("../../../assets")).size);
// cp("-r", "../assets/*", "status-page/__sapper__/export");
assetsExists = (await fs_extra_1.stat("../assets")).size > 0;
}
catch (error) {
// Ignore errors if unable to find directory
// Ignore errors if assets folder doesn't exist
}
if (assetsExists)
shelljs_1.cp("-r", "../assets/*", "status-page/__sapper__/export");
shelljs_1.cd("../..");
};
exports.generateSite = generateSite;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/site.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/site.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 388fb37

Please sign in to comment.