Skip to content

Commit 5884279

Browse files
committed
fix deploy action
1 parent bd20a7d commit 5884279

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/deploy.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: Deploy documentation to GitHub Pages
1+
name: Deploy to GitHub Pages
22

33
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
46
push:
5-
branches: [main, beta]
7+
branches: [ main, beta ]
68
paths:
79
- 'docs/**'
810
# Allows you to run this workflow manually from the Actions tab on GitHub.
@@ -19,12 +21,12 @@ jobs:
1921
runs-on: ubuntu-latest
2022
steps:
2123
- name: Checkout your repository using git
22-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2325
- name: Install, build, and upload your site
24-
uses: withastro/action@v1
26+
uses: withastro/action@v3
2527
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+
path: ./docs # The root location of your Astro project inside the repository. (optional)
29+
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
2830
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)
2931

3032
deploy:
@@ -36,4 +38,4 @@ jobs:
3638
steps:
3739
- name: Deploy to GitHub Pages
3840
id: deployment
39-
uses: actions/deploy-pages@v1
41+
uses: actions/deploy-pages@v4

docs/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"astro-robots-txt": "^1.0.0",
2121
"react": "19.1.0",
2222
"react-dom": "19.1.0",
23-
"react-google-map-wrapper": "^1.1.0",
23+
"react-google-map-wrapper": "1.1.0",
2424
"sharp": "^0.32.5",
2525
"tailwindcss": "^3.3.6",
2626
"typescript": "^5.3.3"

0 commit comments

Comments
 (0)