update deploy config
This commit is contained in:
parent
99ff916961
commit
21d55ef197
2 changed files with 13 additions and 1 deletions
12
deploy.sh
Executable file
12
deploy.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/env bash
|
||||
|
||||
pnpm run build
|
||||
|
||||
## Add domain to codeberg pages
|
||||
cat >dist/.domains <<EOL
|
||||
blog.panconpalta.win
|
||||
personal-page.aleidk.codeberg.page
|
||||
pages.personal-page.aleidk.codeberg.page
|
||||
EOL
|
||||
|
||||
pnpm exec gh-pages --dist dist --branch pages --dotfiles
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"deploy": "gh-pages -d dist -b page",
|
||||
"deploy": "./deploy.sh",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue