We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 118bdd0 commit 6ca1b33Copy full SHA for 6ca1b33
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,33 @@
1
+name: Deploy Astro site to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
13
+jobs:
14
+ deploy:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Install Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 20
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Build site
28
+ run: npm run build
29
30
+ - name: Deploy to GitHub Pages
31
+ uses: withastro/action@v2
32
33
+ package-manager: npm
0 commit comments