Skip to content

Deploy custom environment automatically to latest commit #2098

Answered by dvnrsn
dvnrsn asked this question in Help
Discussion options

You must be logged in to vote

Looks like the CLI might do the trick

h2 deploy --env=staging

I suppose I'll match this in oxygen.yml gh workflow.

Does this trigger both preview and prod?

run: npx shopify hydrogen deploy

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dvnrsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant