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 orbit-ui
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
15+
16+ jobs :
17+ deploy :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Node
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 20
27+
28+ - name : Install dependencies
29+ run : npm ci
30+
31+ - name : Build
32+ run : npm run build
33+
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v3
36+ with :
37+ path : ./dist
38+
39+ - name : Deploy to GitHub Pages
40+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -7,5 +7,8 @@ import tailwindcss from '@tailwindcss/vite';
77export default defineConfig ( {
88 vite : {
99 plugins : [ tailwindcss ( ) ]
10- }
10+ } ,
11+ site : 'https://HC-ONLINE.github.io' ,
12+ base : '/ORBIT-UI' ,
13+ output : 'static' , // GitHub Pages solo soporta sitios estáticos
1114} ) ;
You can’t perform that action at this time.
0 commit comments