Skip to content

Commit 200c7e5

Browse files
committed
fix: workflow
1 parent 22f706f commit 200c7e5

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
64
push:
75
branches: [ stable ]
8-
# Allows you to run this workflow manually from the Actions tab on GitHub.
96
workflow_dispatch:
107

11-
# Allow this job to clone the repo and create a page deployment
128
permissions:
139
contents: read
1410
pages: write
@@ -18,10 +14,9 @@ jobs:
1814
build:
1915
runs-on: ubuntu-latest
2016
steps:
21-
- name: Checkout your repository using git
22-
uses: actions/checkout@v3
23-
- name: Install, build, and upload your site
24-
uses: withastro/action@v1
17+
- uses: actions/checkout@v4
18+
- name: Install & Build Website
19+
uses: withastro/action@v2
2520
with:
2621
path: .
2722
package-manager: bun@latest
@@ -35,4 +30,4 @@ jobs:
3530
steps:
3631
- name: Deploy to GitHub Pages
3732
id: deployment
38-
uses: actions/deploy-pages@v1
33+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)