Skip to content

Commit

Permalink
ci: set the working directory when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
matchai committed May 15, 2021
1 parent 5e9d9c5 commit 20e10c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,12 @@ jobs:
uses: actions/[email protected]

- name: Setup | Install dependencies
run: cd docs && npm install
run: npm install
working-directory: docs

- name: Build | Build docs site
run: npm run build
working-directory: docs

- name: Publish
uses: netlify/actions/cli@master
Expand All @@ -198,3 +200,4 @@ jobs:
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
working-directory: docs

0 comments on commit 20e10c5

Please sign in to comment.