-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove hidden attribute from deploy command (#1628)
* Remove hidden attribute from deploy command * Remove publicDeployment flag * Fix branch type to allow null Preview environments don't have a branch but our typing here didn't reflect that which was resulting in a bug that will be fixed in a later commit. * Use Environment type instead of name * Bump oxygen-cli dependency to 4.0.0 This enables us to use their `--defaultEnvironment` flag. * Add preview flag This fixes a bug where users wouldn't be able to explicitly deploy to the Preview environment depending on which Git branch they currently had checked out. * Remove -e flag for --env-branch We are looking into allowing developers to use --env in the future to specify the handle of the Environment and we'll want to reserve `-e` for that. * Fix changeset typo for publicDeployment removal Co-authored-by: Vincent Lynch <[email protected]> --------- Co-authored-by: Vincent Lynch <[email protected]>
- Loading branch information
1 parent
a907199
commit 6a89758
Showing
10 changed files
with
204 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@shopify/cli-hydrogen': patch | ||
--- | ||
|
||
Remove hidden attribute from `deploy` command | ||
|
||
You can now deploy your Hydrogen storefront without connecting to GitHub. Run the `deploy` command from your local terminal or configure a CI/CD (e.g. Bitbucket) for continuous deployment. | ||
|
||
Run `h2 deploy --help` to see additional features of the command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@shopify/cli-hydrogen': patch | ||
--- | ||
|
||
Add --preview flag to deploy command | ||
|
||
You can now explicitly deploy to the Preview environment with the `--preview` flag regardless of your current Git branch. For example, you can use this flag to test your changes before deploying to production if you're working off of your `main` branch. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@shopify/cli-hydrogen': major | ||
--- | ||
|
||
Remove --publicDeployment flag from deploy command | ||
|
||
The ability to mark individual deployments as public has been deprecated. If you need deployments to be accessible by other services for the purposes of end-to-end testing you can make use of the newly added `--auth-bypass-token` flag. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.