From db7335337ce7c8dac8aa8efc10c010fa72efebde Mon Sep 17 00:00:00 2001 From: Luis Arias Date: Wed, 27 Mar 2024 10:39:20 +0100 Subject: [PATCH] Specify working directory for whole job --- .github/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f250043..3db356b 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -11,13 +11,15 @@ on: jobs: deploy: runs-on: ubuntu-latest + defaults: + run: + working-directory: site-observable steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: yarn - - run: cd site-observable - run: yarn install --frozen-lockfile - run: yarn build - name: Deploy to Observable Cloud