Skip to content

Commit 67666d4

Browse files
committed
deploy, build astro to github pages.
1 parent e2a5f00 commit 67666d4

4 files changed

Lines changed: 6 additions & 23 deletions

File tree

astro.config.mjs

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11
import { defineConfig } from 'astro/config'
2-
import svelte from '@astrojs/svelte'
3-
import mdx from '@astrojs/mdx'
42

5-
// https://astro.build/config
63
export default defineConfig({
7-
site: 'https://astro-blog-template.netlify.app',
8-
integrations: [mdx(), svelte()],
9-
markdown: {
10-
shikiConfig: {
11-
theme: 'nord',
12-
},
13-
remarkPlugins: ['remark-gfm', 'remark-smartypants'],
14-
rehypePlugins: [
15-
[
16-
'rehype-external-links',
17-
{
18-
target: '_blank',
19-
},
20-
],
21-
],
22-
},
23-
})
4+
site: 'vivekipedia.in'
5+
// base: '/my-repo',
6+
})

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"homepage": "https://kaizer1v.github.io",
2+
"homepage": "vivekipedia.in",
33
"name": "smoggy-solstice",
44
"version": "0.0.1",
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",
8-
"predeploy": "npm run build",
9-
"deploy": "gh-pages -d build",
8+
// "predeploy": "npm run build",
9+
// "deploy": "gh-pages -d build",
1010
"build": "astro build",
1111
"preview": "astro preview",
1212
"astro": "astro"
File renamed without changes.

0 commit comments

Comments
 (0)