Skip to content

Skip confirmation prompts on deploy with --force#3832

Merged
gonzaloriestra merged 1 commit into
mainfrom
gdt-hydrogen-deploy-yes
Jul 9, 2026
Merged

Skip confirmation prompts on deploy with --force#3832
gonzaloriestra merged 1 commit into
mainfrom
gdt-hydrogen-deploy-yes

Conversation

@gonzaloriestra

@gonzaloriestra gonzaloriestra commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

WHY are these changes introduced?

Fixes https://github.com/shop/issues-develop/issues/22876

shopify hydrogen deploy could still prompt for confirmation before deploying to a non-preview environment.

WHAT is this pull request doing?

Allows hydrogen deploy --forceto skip confirmation prompts about deploying to non-preview environments

HOW to test your changes?

Use a linked Hydrogen project with an available non-preview environment:

shopify hydrogen deploy --path ./my-hydrogen-app --env production --force

The deploy command should proceed without the non-preview deployment confirmation prompt.

gonzaloriestra commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@shopify

shopify Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Oxygen deployed a preview of your gdt-hydrogen-deploy-yes branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment July 9, 2026 7:52 AM

Learn more about Hydrogen's GitHub integration.

@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-env-push-agent-confirm branch from b8922b7 to 020210c Compare July 3, 2026 12:10
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch 2 times, most recently from 13f091b to b337244 Compare July 3, 2026 12:23
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-env-push-agent-confirm branch from 020210c to 3841045 Compare July 3, 2026 12:23
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from b337244 to 019d75b Compare July 3, 2026 12:33
@gonzaloriestra gonzaloriestra changed the title Add deploy yes confirmation flag Add deploy non-preview confirmation flag Jul 3, 2026
@gonzaloriestra gonzaloriestra marked this pull request as ready for review July 3, 2026 14:29
@gonzaloriestra gonzaloriestra requested a review from a team as a code owner July 3, 2026 14:29
Comment thread .changeset/hydrogen-deploy-allow-non-preview.md Outdated
Comment thread .changeset/hydrogen-deploy-allow-non-preview.md
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from 019d75b to b941d59 Compare July 7, 2026 10:13
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-env-push-agent-confirm branch from 3841045 to 3f36df5 Compare July 7, 2026 10:13
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from b941d59 to e2e5d2e Compare July 8, 2026 08:55
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-env-push-agent-confirm branch from 3f36df5 to 30d29d6 Compare July 8, 2026 08:55
@gonzaloriestra gonzaloriestra changed the base branch from gdt-hydrogen-env-push-agent-confirm to graphite-base/3832 July 8, 2026 09:26
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from e2e5d2e to 1085989 Compare July 8, 2026 09:26
@graphite-app graphite-app Bot changed the base branch from graphite-base/3832 to main July 8, 2026 09:27
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from 1085989 to fcc0333 Compare July 8, 2026 09:27
@gonzaloriestra gonzaloriestra changed the title Add deploy non-preview confirmation flag Skip all prompts on deploy with --force Jul 8, 2026
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from fcc0333 to 5852064 Compare July 8, 2026 09:44
@gonzaloriestra gonzaloriestra changed the title Skip all prompts on deploy with --force Skip confirmation prompts on deploy with --force Jul 8, 2026
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from 5852064 to a72a9b3 Compare July 9, 2026 07:44
@gonzaloriestra gonzaloriestra force-pushed the gdt-hydrogen-deploy-yes branch from a72a9b3 to 286e006 Compare July 9, 2026 07:50
@gonzaloriestra gonzaloriestra merged commit 798af6c into main Jul 9, 2026
21 checks passed
@gonzaloriestra gonzaloriestra deleted the gdt-hydrogen-deploy-yes branch July 9, 2026 08:24
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.

3 participants