Skip to content

Commit 38d1752

Browse files
committed
fix: Fix deployment by updating to latest versions of actions
1 parent 3fa581c commit 38d1752

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/publish-site.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,24 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v6
3737
- name: Set up Node.js
38-
uses: actions/setup-node@v3
38+
uses: actions/setup-node@v6
3939
with:
40-
node-version: 18.x
41-
cache: npm
40+
node-version: '18.x'
41+
cache: yarn # <-- match yarn
42+
cache-dependency-path: yarn.lock
4243
- name: Install dependencies
4344
run: yarn install --frozen-lockfile --non-interactive
4445
- name: Build
4546
run: yarn build
4647
- name: Setup Pages
47-
uses: actions/configure-pages@v1
48+
uses: actions/configure-pages@v5
4849
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v1
50+
uses: actions/upload-pages-artifact@v4
5051
with:
5152
# Upload entire repository
5253
path: build
5354
- name: Deploy to GitHub Pages
5455
id: deployment
55-
uses: actions/deploy-pages@v1
56+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)