You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/deploy.yml
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@ name: Deploy to GitHub Pages
2
2
3
3
on:
4
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
5
6
push:
6
7
branches: [ main ]
7
-
#Allow you to run this workflow manually from the Actions tab on GitHub
8
+
#Allows you to run this workflow manually from the Actions tab on GitHub.
8
9
workflow_dispatch:
9
10
10
11
# Allow this job to clone the repo and create a page deployment
@@ -20,11 +21,11 @@ jobs:
20
21
- name: Checkout your repository using git
21
22
uses: actions/checkout@v4
22
23
- name: Install, build, and upload your site
23
-
uses: withastro/action@v1
24
-
with:
25
-
path: . # The root location of your Astro project inside the repository
26
-
node-version: 18# The specific version of Node that should be used to build your site
27
-
package-manager: npm# The Node package manager that should be used to install dependencies
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)
0 commit comments