summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2021-05-15 10:26:48 -0400
committerMatan Kushner <hello@matchai.dev>2021-05-15 10:26:48 -0400
commit20e10c550f4db890fde8257c479d4012d50457f0 (patch)
treeb2f0f514ffc354c4b5e1eae78cbbdecb36890148
parent5e9d9c5419b26496e5c75bd8d6923762e8ffb909 (diff)
ci: set the working directory when building docs
-rw-r--r--.github/workflows/deploy.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 58066f8c2..3b67bc0d1 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -186,10 +186,12 @@ jobs:
uses: actions/checkout@v2.3.4
- 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
@@ -198,3 +200,4 @@ jobs:
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
+ working-directory: docs