File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,33 +13,33 @@ permissions:
1313jobs :
1414 build-and-deploy :
1515 runs-on : ubuntu-latest
16-
1716 steps :
18- # 1️⃣ Fetch your code
17+
18+ # 1️⃣ Checkout your code
1919 - name : Checkout repository
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v4
2121
22- # 2️⃣ Setup Node.js & build
22+ # 2️⃣ Setup Node and build your Astro site
2323 - name : Setup Node.js
2424 uses : actions/setup-node@v3
2525 with :
26- node-version : ' 18 '
27- - name : Install dependencies & build
26+ node-version : " 18 "
27+ - name : Install & build
2828 run : |
2929 npm ci
30- npm run build
30+ npm run build
3131
3232 # 3️⃣ Configure the Pages environment
33- - name : Configure Pages
34- uses : actions/configure-pages@v3
33+ - name : Configure GitHub Pages
34+ uses : actions/configure-pages@v5
3535
36- # 4️⃣ Upload the built site as an artifact
36+ # 4️⃣ Upload the built site (uses upload- artifact@v4 internally)
3737 - name : Upload Pages artifact
38- uses : actions/upload-pages-artifact@v1
38+ uses : actions/upload-pages-artifact@v3
3939 with :
40- path : ./dist
40+ path : ./dist
4141
4242 # 5️⃣ Deploy to GitHub Pages
4343 - name : Deploy to GitHub Pages
4444 id : deployment
45- uses : actions/deploy-pages@v2
45+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments