File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ jobs :
14
+ build-and-deploy :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Checkout Code
18
+ uses : actions/checkout@v3
19
+
20
+ - name : Setup Node.js
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : 20
24
+
25
+ - name : Install Dependencies
26
+ run : npm ci
27
+
28
+ - name : Build Project
29
+ run : npm run build
30
+
31
+ - name : Deploy to GitHub Pages
32
+ uses : actions/upload-pages-artifact@v1
33
+
34
+ deploy :
35
+ needs : build-and-deploy
36
+ runs-on : ubuntu-latest
37
+ permissions :
38
+ pages : write
39
+ id-token : write
40
+ steps :
41
+ - name : Deploy
42
+ uses : actions/deploy-pages@v1
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import tailwind from '@astrojs/tailwind';
7
7
8
8
// https://astro.build/config
9
9
export default defineConfig ( {
10
+ site : 'https://niposch.github.io' ,
11
+ output : 'static' ,
10
12
integrations : [
11
13
vue ( ) ,
12
14
tailwind ( {
You can’t perform that action at this time.
0 commit comments