update deploy config

This commit is contained in:
Alexander Navarro 2023-06-25 16:55:49 -04:00
parent 99ff916961
commit 21d55ef197
2 changed files with 13 additions and 1 deletions

12
deploy.sh Executable file
View 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

View file

@ -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"
},