Skip to content

Commit 8ec9d11

Browse files
committed
[main]: update build workflow
1 parent 1d61567 commit 8ec9d11

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,21 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

20-
- name: Install, build, and prepare Astro site
21-
uses: withastro/action@v3
20+
- name: Install, build, and upload your site
21+
uses: withastro/action@v5
2222
with:
2323
path: .
2424
node-version: 20
2525
package-manager: npm
2626

27-
- name: Upload GitHub Pages artifact (v4)
28-
uses: actions/upload-pages-artifact@v2
29-
with:
30-
path: ./dist
31-
3227
deploy:
3328
needs: build
3429
runs-on: ubuntu-latest
3530
environment:
3631
name: github-pages
32+
url: ${{ steps.deployment.outputs.page_url }}
3733
steps:
3834
- name: Deploy to GitHub Pages
3935
id: deployment

0 commit comments

Comments
 (0)