diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml
index 6afa1374a92d14610b2f4dc5ba852b6212fe3e45..62bb232a6998c6dcf8a16fa6c0a454f4b97319ed 100644
--- a/.github/workflows/deploy-to-github-pages.yml
+++ b/.github/workflows/deploy-to-github-pages.yml
@@ -38,14 +38,14 @@ jobs:
       - name: Install Dependencies
         run: cd docs && npm install
       - name: Build
-        run: npm run build
+        run: cd docs && npm run build
       - name: Setup Pages
         uses: actions/configure-pages@v2
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v1
         with:
           # Upload entire repository
-          path: 'build'
+          path: 'docs/build'
       - name: Deploy to GitHub Pages
         id: deployment
         uses: actions/deploy-pages@v1
\ No newline at end of file