Skip to content

Commit

Permalink
Specify working directory for whole job
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaloo committed Mar 27, 2024
1 parent 9474182 commit db73353
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db73353

Please sign in to comment.