blueloveTH 2 年之前
父節點
當前提交
e836a07c5b
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      .github/workflows/website.yml

+ 3 - 2
.github/workflows/website.yml

@@ -15,6 +15,7 @@ jobs:
     - uses: actions/setup-node@v3.1.1
     - name: Retype build
       run: |
+        cd docs
         npm install retypeapp --global
         retype build
     ###################################################
@@ -26,11 +27,11 @@ jobs:
     - name: Compile
       run: |
         python3 build.py web
-        mv web .retype/static
+        mv web docs/.retype/static
     ###################################################
     - uses: crazy-max/ghaction-github-pages@v3
       with:
         target_branch: gh-pages
-        build_dir: .retype
+        build_dir: docs/.retype
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}