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
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
name: Deploy documentation to GitHub Pages
1
+
name: Deploy to GitHub Pages
2
2
3
3
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
4
6
push:
5
7
branches: [main, beta]
6
8
paths:
@@ -19,13 +21,13 @@ jobs:
19
21
runs-on: ubuntu-latest
20
22
steps:
21
23
- 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@v4
25
27
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
-
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)
28
+
path: ./docs # The root location of your Astro project inside the repository. (optional)
29
+
node-version: 22# The specific version of Node that should be used to build your site. Defaults to 22. (optional)
30
+
#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