Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): add dry-run flag #3226

Merged
merged 5 commits into from
Apr 6, 2022
Merged

feat(core): add dry-run flag #3226

merged 5 commits into from
Apr 6, 2022

Conversation

RitaDias
Copy link
Contributor

Description

Add dry-run flag as an option when running sanity graphql deploy

What to review

To test:

  • Running sanity graphql deploy --dry-run will not deploy anything
    • It won't ask for the playground and, if there are conflicts, will not confirm that you want to deploy
  • Running sanity graphql deploy will work exactly as before
  • Do breaking changes to the schema. When running with the dry-run flag you should have a list of the changes and you won't be prompted about deploying with breaking changes

Notes for release

Add dry-run flag as an option when running sanity graphql deploy

@RitaDias RitaDias requested a review from rexxars March 31, 2022 13:23
@vercel
Copy link

vercel bot commented Mar 31, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

perf-studio – ./

🔍 Inspect: https://vercel.com/sanity-io/perf-studio/6gn3unkpfEH3LqxZ4SYjRHWWHNKW
✅ Preview: https://perf-studio-git-feat-cli-select-organization.sanity.build

test-studio – ./

🔍 Inspect: https://vercel.com/sanity-io/test-studio/6adh37PQ9tYFoG9GJsV3RjvrCyxQ
✅ Preview: https://test-studio-git-feat-cli-select-organization.sanity.build

studio-workshop – ./dev/workshop

🔍 Inspect: https://vercel.com/sanity-io/studio-workshop/GJUNhAP81hzpcsC6ywLLJ9J85RP8
✅ Preview: https://studio-workshop-git-feat-cli-select-organization.sanity.build

Copy link
Member

@rexxars rexxars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants