Skip to content

Commit 508d872

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents fca8cc4 + 6ca1b33 commit 508d872

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
33+
package-manager: npm

0 commit comments

Comments
 (0)