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/astro.yml
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ on:
4
4
# Trigger the workflow every time you push to the `main` branch
5
5
# Using a different branch name? Replace `main` with your branch’s name
6
6
push:
7
-
branches: [master]
7
+
branches: [master]
8
8
# Allows you to run this workflow manually from the Actions tab on GitHub.
9
9
workflow_dispatch:
10
-
10
+
11
11
# Allow this job to clone the repo and create a page deployment
12
12
permissions:
13
13
contents: read
@@ -19,14 +19,13 @@ jobs:
19
19
runs-on: ubuntu-latest
20
20
steps:
21
21
- name: Checkout your repository using git
22
-
uses: actions/checkout@v3
22
+
uses: actions/checkout@v4
23
23
- name: Install, build, and upload your site output
24
-
uses: withastro/action@v0
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 16. (optional)
28
-
# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29
-
# resolve-dep-from-path: false # If the dependency file should be resolved from the root location of your Astro project. Defaults to `true`. (optional)
24
+
uses: withastro/action@v2
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 18. (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