diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index ae049737f62..d92e2ea782d 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -22,10 +22,8 @@ jobs:
           node-version: 18
           cache: npm
 
-      - name: Install dependencies
-        run: npm ci
       - name: Build website
-        run: npm run build
+        run: make build-docs
 
       # Popular action to deploy to GitHub Pages:
       # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
@@ -34,4 +32,4 @@ jobs:
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           # Build output to publish to the `gh-pages` branch:
-          publish_dir: ./build
+          publish_dir: ./docs/build