diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c50f537ef..dc916ab51 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,6 @@ jobs: deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest - working-directory: ./docs steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -23,8 +22,10 @@ jobs: cache: npm - name: Install dependencies + working-directory: ./docs run: npm ci - name: Build website + working-directory: ./docs run: npm run build # Popular action to deploy to GitHub Pages: @@ -34,7 +35,7 @@ jobs: with: github_token: ${{ secrets.TOKEN }} # Build output to publish to the `gh-pages` branch: - publish_dir: ./build + publish_dir: ./docs/build # The following lines assign commit authorship to the official # GH-Actions bot for deploys to `gh-pages` branch: # https://github.com/actions/checkout/issues/13#issuecomment-724415212