From 6f10fc39956cd1aeef205103ba0944d5664a1de3 Mon Sep 17 00:00:00 2001 From: shuu-wasseo Date: Tue, 2 Jul 2024 22:07:12 +0800 Subject: [PATCH] updated deploy.yml --- .github/workflows/deploy.yml | 7 ++++--- package.json | 11 ----------- 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 package.json diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4b74a5160..f01217e81 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,12 +36,13 @@ jobs: uses: actions/setup-node@v2 with: node-version: '14' + - run: cd wiki - run: npm ci - run: npm run docs:build - uses: actions/upload-artifact@v2 with: name: vitepress-site - path: wiki/docs/.vitepress/dist + path: docs/.vitepress/dist deploy: runs-on: ubuntu-latest @@ -52,10 +53,10 @@ jobs: - uses: actions/download-artifact@v2 with: name: vitepress-site - path: wiki/docs/.vitepress/dist + path: docs/.vitepress/dist - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: wiki/docs/.vitepress/dist + publish_dir: docs/.vitepress/dist diff --git a/package.json b/package.json deleted file mode 100644 index cdfe44279..000000000 --- a/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "food-pod", - "version": "1.0.0", - "description": "## the food:pod project", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC" -}