Skip to content

Commit 1d54a91

Browse files
committed
update deploy path for gh actions
1 parent fd12155 commit 1d54a91

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ jobs:
1313

1414
steps:
1515
- name: Checkout 🛎️
16-
uses: actions/checkout@v3
16+
# https://github.com/actions/checkout
17+
uses: actions/checkout@v4
1718
with:
1819
persist-credentials: false
1920
- name: Use Node.js v18
20-
uses: actions/setup-node@v3
21+
# https://github.com/actions/setup-node
22+
uses: actions/setup-node@v4
2123
with:
22-
node-version: 18.x
24+
node-version: lts/hydrogen
2325
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2426
cache: 'npm'
2527
- name: Install and Build 🔧

.github/workflows/publish-to-gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
steps:
1212
# same as build.yml
1313
- name: Checkout 🛎️
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
persist-credentials: false
17-
- name: Use Node.js v18
18-
uses: actions/setup-node@v3
17+
- name: Use Node.js lts/hydrogen (v18)
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 18.x
20+
node-version: lts/hydrogen
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222
cache: 'npm'
2323
- name: Install and Build 🔧
@@ -36,5 +36,5 @@ jobs:
3636
with:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
BRANCH: gh-pages # The branch the action should deploy to.
39-
FOLDER: dist # The folder the action should deploy.
39+
FOLDER: build # The folder the action should deploy.
4040
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)