From 12155fbf4cbb8e19365c6f38781090cc76757a73 Mon Sep 17 00:00:00 2001 From: Jason Dai Date: Fri, 1 Dec 2023 16:03:33 +0800 Subject: [PATCH 1/3] Update deploy.yml --- .github/workflows/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 88b4eea..61c3527 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,8 +39,7 @@ jobs: with: node-version: 18 cache: 'pnpm' - - run: cd website - - run: ls + - run: cd ./website/ - name: Install dependencies run: pnpm install - name: Build @@ -54,4 +53,4 @@ jobs: path: './dist' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v1 From 1aa83beb9ef2ae6cf0a35492dd1d3c17650a587b Mon Sep 17 00:00:00 2001 From: Jason Dai Date: Fri, 1 Dec 2023 16:07:46 +0800 Subject: [PATCH 2/3] Update deploy.yml --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 61c3527..891d5be 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,9 +39,9 @@ jobs: with: node-version: 18 cache: 'pnpm' - - run: cd ./website/ - name: Install dependencies run: pnpm install + working-directory: ./website - name: Build run: pnpm run build - name: Setup Pages @@ -50,7 +50,7 @@ jobs: uses: actions/upload-pages-artifact@v1 with: # Upload dist repository - path: './dist' + path: './website/dist' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 From 797dae6fea7bb00577218124e75ff69253b26d67 Mon Sep 17 00:00:00 2001 From: Jason Dai Date: Fri, 1 Dec 2023 16:08:46 +0800 Subject: [PATCH 3/3] Update deploy.yml --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 891d5be..8305a64 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -44,6 +44,7 @@ jobs: working-directory: ./website - name: Build run: pnpm run build + working-directory: ./website - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact