From e826772a25a7fac37485357ec5d3a89b910952df Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 5 Sep 2023 11:58:13 +0800 Subject: [PATCH] chore: fix wrong dist directory --- .github/workflows/wangdoc.yml | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/wangdoc.yml b/.github/workflows/wangdoc.yml index 3214e3a..d05b96f 100644 --- a/.github/workflows/wangdoc.yml +++ b/.github/workflows/wangdoc.yml @@ -30,7 +30,7 @@ jobs: token: ${{ secrets.WANGDOC_BOT_TOKEN }} branch: master # The branch the action should deploy to. folder: dist # The folder the action should deploy. - target-folder: dist/typescript + target-folder: dist/webapi clean: true # Automatically remove deleted files from the deploy branch - commit-message: update from TypeScript tutorial + commit-message: update from WebAPI tutorial diff --git a/package.json b/package.json index 3b307d8..30c6cd9 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build-and-commit": "npm run build && npm run commit", "commit": "gh-pages --dist dist --dest dist/webapi --branch master --add --repo git@github.com:wangdoc/website.git", "chapter": "loppo chapter", + "server": "loppo server", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {