blueloveTH 2 years ago
parent
commit
e836a07c5b
1 changed files with 3 additions and 2 deletions
  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
     - uses: actions/setup-node@v3.1.1
     - name: Retype build
     - name: Retype build
       run: |
       run: |
+        cd docs
         npm install retypeapp --global
         npm install retypeapp --global
         retype build
         retype build
     ###################################################
     ###################################################
@@ -26,11 +27,11 @@ jobs:
     - name: Compile
     - name: Compile
       run: |
       run: |
         python3 build.py web
         python3 build.py web
-        mv web .retype/static
+        mv web docs/.retype/static
     ###################################################
     ###################################################
     - uses: crazy-max/ghaction-github-pages@v3
     - uses: crazy-max/ghaction-github-pages@v3
       with:
       with:
         target_branch: gh-pages
         target_branch: gh-pages
-        build_dir: .retype
+        build_dir: docs/.retype
       env:
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}