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 : [ master ]
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
18+ uses : actions/checkout@v4
19+
20+ - name : Install pnpm
21+ uses : pnpm/action-setup@v4
22+ with :
23+ version : 10
24+
25+ - name : Setup Node
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : 20
29+ cache : ' pnpm'
30+
31+ - name : Install dependencies
32+ run : pnpm install
33+
34+ - name : Build Astro
35+ run : pnpm run build
36+
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : ./dist
41+
42+ deploy :
43+ needs : build
44+ runs-on : ubuntu-latest
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ only-built-dependencies = esbuild,sharp
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import { defineConfig } from 'astro/config';
22import tailwindcss from '@tailwindcss/vite' ;
33
44export default defineConfig ( {
5+ site : 'https://Rimba-maker.github.io' ,
6+ base : 'beauty-brand' ,
57 vite : {
68 plugins : [ tailwindcss ( ) ] ,
79 } ,
Original file line number Diff line number Diff line change 1111 "check" : " astro check"
1212 },
1313 "dependencies" : {
14- "astro " : " 6 .3.1 " ,
15- "tailwindcss " : " 4.2.4 " ,
16- "@ tailwindcss/vite " : " 4.2.4 "
14+ "@tailwindcss/vite " : " 4 .3.0 " ,
15+ "astro " : " 6.3.7 " ,
16+ "tailwindcss" : " 4.3.0 "
1717 },
1818 "devDependencies" : {
19- "@astrojs/check" : " 0.9.4 " ,
20- "typescript " : " 5.7.3 " ,
21- "@types/node " : " 25.6.2 "
19+ "@astrojs/check" : " 0.9.9 " ,
20+ "@types/node " : " 25.9.1 " ,
21+ "typescript " : " 6.0.3 "
2222 },
2323 "packageManager" : " pnpm@10.29.2" ,
2424 "pnpm" : {
25- "onlyBuiltDependencies" : [" esbuild" , " sharp" ]
25+ "overrides" : {
26+ "yaml" : " >=2.8.3"
27+ }
2628 }
2729}
You can’t perform that action at this time.
0 commit comments