File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : write
10+
11+ concurrency :
12+ group : pages-deploy
13+ cancel-in-progress : true
14+
15+ jobs :
16+ build-and-deploy :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Setup Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : 20
26+
27+ - name : Install dependencies
28+ run : npm install
29+
30+ - name : Build
31+ run : npm run build
32+
33+ - name : Deploy to gh-pages
34+ uses : peaceiris/actions-gh-pages@v4
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./dist
38+ publish_branch : gh-pages
39+ cname : ev.xyz
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import react from '@astrojs/react'
33import sitemap from '@astrojs/sitemap'
44
55export default defineConfig ( {
6- site : 'https://evolve.com ' ,
6+ site : 'https://ev.xyz ' ,
77 output : 'static' ,
88 integrations : [ react ( ) , sitemap ( ) ]
99} )
Original file line number Diff line number Diff line change 1+ ev.xyz
You can’t perform that action at this time.
0 commit comments