We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b46be1 + f0ddfb9 commit 7de1e17Copy full SHA for 7de1e17
.github/workflows/deploy.yaml
@@ -1,25 +1,28 @@
1
-name: Deploy to GitHub Pages
+name: Deploy Astro site to GitHub Pages
2
+
3
on:
4
push:
5
branches: [ main ]
6
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v4
12
- uses: actions/setup-node@v4
13
with:
- node-version: 18
14
+ node-version: 22
15
- run: npm ci
16
- run: npm run build
- - uses: actions/upload-pages-artifact@v4
17
+ - uses: actions/upload-pages-artifact@v3
18
19
path: ./dist
20
21
deploy:
- runs-on: ubuntu-latest
22
needs: build
23
+ runs-on: ubuntu-latest
24
permissions:
25
pages: write
26
id-token: write
27
- - uses: actions/deploy-pages@v4
28
+ - uses: actions/deploy-pages@v4
0 commit comments