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+ concurrency :
14+ group : pages
15+ cancel-in-progress : true
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v7
23+
24+ - name : Build and upload site
25+ uses : withastro/action@v6
26+
27+ deploy :
28+ needs : build
29+ runs-on : ubuntu-latest
30+ environment :
31+ name : github-pages
32+ url : ${{ steps.deployment.outputs.page_url }}
33+ steps :
34+ - name : Deploy to GitHub Pages
35+ id : deployment
36+ uses : actions/deploy-pages@v5
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ import tailwindcss from '@tailwindcss/vite';
55
66// https://astro.build/config
77export default defineConfig ( {
8+ site : 'https://danielcadev.github.io' ,
89 vite : {
910 plugins : [ tailwindcss ( ) ]
1011 }
11- } ) ;
12+ } ) ;
You can’t perform that action at this time.
0 commit comments