Skip to content

Commit 76249d9

Browse files
committed
fix deploy action
1 parent bd20a7d commit 76249d9

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
name: Deploy documentation to GitHub Pages
1+
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
46
push:
57
branches: [main, beta]
68
paths:
@@ -19,12 +21,12 @@ jobs:
1921
runs-on: ubuntu-latest
2022
steps:
2123
- name: Checkout your repository using git
22-
uses: actions/checkout@v3
23-
- name: Install, build, and upload your site
24-
uses: withastro/action@v1
24+
uses: actions/checkout@v4
25+
- name: Install, build, and upload your site output
26+
uses: withastro/action@v3
2527
with:
26-
path: ./docs # The root location of your Astro project inside the repository.
27-
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
28+
path: ./docs # The root location of your Astro project inside the repository. (optional)
29+
node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
2830
package-manager: npm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
2931

3032
deploy:
@@ -36,4 +38,4 @@ jobs:
3638
steps:
3739
- name: Deploy to GitHub Pages
3840
id: deployment
39-
uses: actions/deploy-pages@v1
41+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)