Skip to content

Commit 433bcc6

Browse files
committed
Update deploy script
- Specify pnpm as the package manager - Bumped actions/checkout and withastro/action to v5
1 parent 8cde2b0 commit 433bcc6

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout your repository using git
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v3
25-
# with:
26-
# path: . # The root location of your Astro project inside the repository. (optional)
27-
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28-
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
24+
uses: withastro/action@v5
25+
with:
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 22 # The specific version of Node that should be used to build your site. Defaults to 22. (optional)
28+
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29+
# build-cmd: pnpm run build # The command to run to build your site. Runs the package build script/task by default. (optional)
2930

3031
deploy:
3132
needs: build

0 commit comments

Comments
 (0)