From 578fb16ce819cf0562f3d38f59e00af4f68dab31 Mon Sep 17 00:00:00 2001 From: mas-who <151511568+mas-who@users.noreply.github.com> Date: Wed, 24 Jan 2024 12:19:51 +0200 Subject: [PATCH] fix: resolve issue with publish doc workflow (#1026) Signed-off-by: Mason Hu --- .github/workflows/publish-docs.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 8dac5aaaf..300dbc4a1 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -14,13 +14,17 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v4 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: "lts/*" - name: Install dependencies run: yarn install - name: Build Storybook run: yarn build-docs - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: "./docs" publish-docs: @@ -37,4 +41,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4