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 : read
10+ pages : write
11+ id-token : write
12+
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout your repository using git
18+ uses : actions/checkout@v4
19+ - name : Install, build, and upload your site
20+ uses : withastro/action@v3
21+ with :
22+ node-version : 22
23+
24+ deploy :
25+ needs : build
26+ runs-on : ubuntu-latest
27+ environment :
28+ name : github-pages
29+ url : ${{ steps.deployment.outputs.page_url }}
30+ steps :
31+ - name : Deploy to GitHub Pages
32+ id : deployment
33+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
2424 hasExternalScripts ? ( Array . isArray ( items ) ? items . map ( ( item ) => item ( ) ) : [ items ( ) ] ) : [ ] ;
2525
2626export default defineConfig ( {
27- site : 'https://github.com/ANest58/ anest58.github.io.git ' ,
27+ site : 'https://anest58.github.io' ,
2828
2929 output : 'static' ,
3030
Original file line number Diff line number Diff line change 11site :
22 name : AstroWind
3- site : ' https://astrowind.vercel.app '
3+ site : ' https://anest58.github.io '
44 base : ' /'
55 trailingSlash : false
66
You can’t perform that action at this time.
0 commit comments