Skip to content

Commit ee28d54

Browse files
config fixes for gh pages deploy
1 parent b67df1e commit ee28d54

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22

33
on:
44
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch's name
5+
# Using a different branch name? Replace `main` with your branchs name
66
push:
77
branches: [ main ]
88
# Allows you to run this workflow manually from the Actions tab on GitHub.
@@ -21,11 +21,13 @@ jobs:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v4
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v2
24+
uses: withastro/action@v3
2525
# 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)
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)
29+
# env:
30+
# PUBLIC_POKEAPI: 'https://pokeapi.co/api/v2' # Use single quotation marks for the variable value. (optional)
2931

3032
deploy:
3133
needs: build

0 commit comments

Comments
 (0)