~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
7fc7e9b9
—
pyrossh 7 months ago
add publish command
- package.json +1 -2
package.json
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "astro dev",
|
|
7
7
|
"build": "astro build",
|
|
8
|
-
"
|
|
8
|
+
"publish": "rm -rf build && bun run build && tar -C dist -cvz . > site.tar.gz && hut pages publish -d pyrossh.dev site.tar.gz && rm site.tar.gz"
|
|
9
|
-
"astro": "astro"
|
|
10
9
|
},
|
|
11
10
|
"dependencies": {
|
|
12
11
|
"@astrojs/mdx": "^4.2.5",
|