Create folder
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 43s

This commit is contained in:
thepaperpilot 2024-06-10 23:29:39 -05:00
parent cb29d98f82
commit 0a10ea1d67
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,6 +2,7 @@ node_modules
site/.vitepress/dist
site/.vitepress/cache
site/public/garden/
site/public/changelog/
site/changelog/index.md
site/guide-to-incrementals/
garden-output/

View file

@ -295,6 +295,8 @@ ${entries.join("\n\n")}
`);
fs.closeSync(fd);
fs.mkdirSync("./public/changelog");
fd = fs.openSync("site/public/changelog/rss", "w+");
fs.writeSync(fd, feed.rss2());
fs.closeSync(fd);

View file

@ -5,7 +5,7 @@
"scripts": {
"serve": "vitepress serve site",
"dev": "vitepress dev site",
"build": "rm -rf ./site/guide-to-incrementals && rm -rf ./site/public/garden && rm -rf ./site/changelog && rm -rf ./site/garden && rm -rf ./garden-output && yarn run logseq-export && node build_garden.js && vitepress build site",
"build": "rm -rf ./site/guide-to-incrementals && rm -rf ./site/public/garden && rm -rf ./site/public/changelog && rm -rf ./site/changelog && rm -rf ./site/garden && rm -rf ./garden-output && yarn run logseq-export && node build_garden.js && vitepress build site",
"logseq-export": "run-script-os",
"logseq-export:win32": "logseq-export/logseq-export.exe --logseqFolder ./Garden --outputFolder ./garden-output",
"logseq-export:linux": "chmod +x logseq-export/logseq-export && logseq-export/logseq-export --logseqFolder ./Garden --outputFolder ./garden-output"