Skip to content

Commit 43c2388

Browse files
committed
fix: update Sanity Studio deployment command to use the -y flag
- Changed the deployment command in the GitHub Actions workflow for both development and production environments to include the -y flag, streamlining the deployment process.
1 parent aa35daa commit 43c2388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ jobs:
5757

5858
- name: Deploy Sanity Studio (dev)
5959
if: github.ref == 'refs/heads/dev'
60-
run: npx sanity deploy --no-login
60+
run: npx sanity deploy -y
6161
working-directory: apps/sanity
6262
env:
6363
SANITY_AUTH_TOKEN: ${{ secrets.SANITY_AUTH_TOKEN }}
6464
SANITY_STUDIO_HOSTNAME: codingcat-dev
6565

6666
- name: Deploy Sanity Studio (production)
6767
if: github.ref == 'refs/heads/main'
68-
run: npx sanity deploy --no-login
68+
run: npx sanity deploy -y
6969
working-directory: apps/sanity
7070
env:
7171
SANITY_AUTH_TOKEN: ${{ secrets.SANITY_AUTH_TOKEN }}

0 commit comments

Comments
 (0)