Skip to content

Commit d9dd660

Browse files
committed
修复 GitHub Pages 自定义域名部署配置
1 parent 1c49500 commit d9dd660

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
run: pnpm install
2323
- name: Build project
2424
run: pnpm run build
25+
- name: Copy custom domain
26+
run: cp CNAME ./dist/CNAME
2527
- name: Deploy to GitHub Pages
2628
uses: peaceiris/actions-gh-pages@v4
2729
with:

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from 'astro/config';
33
import tailwindcss from '@tailwindcss/vite';
44

55
export default defineConfig({
6-
site: 'https://pixel.mystery0.vip',
6+
site: 'https://pixel.mystery0.app',
77
vite: {
88
plugins: [tailwindcss()],
99
},

0 commit comments

Comments
 (0)