Skip to content

Commit

Permalink
Test working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bomanimc committed Jun 24, 2024
1 parent 9c821f9 commit fc81734
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy sanity studio
'on':
push:
branches:
- deploy
- main
jobs:
deploy:
name: Build and deploy
Expand All @@ -17,12 +17,15 @@ jobs:
with:
node-version: 16.x
- name: "Restore cached Node Modules \U0001F4BE"
working-directory: ./sanity
id: cache-node-modules
uses: actions/cache@v3
with:
path: node_modules
key: 'node-modules-${{ hashFiles(''package-lock.json'') }}'
- name: Install dependencies
working-directory: ./sanity
run: npm install
- name: Deploy Studio
working-directory: ./sanity
run: npm run deploy

0 comments on commit fc81734

Please sign in to comment.