You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the command team51 deployhq:create-project ends in an error:
Running in developer mode. Skipping update check.
Please enter the name of the project to create: test1
Please select the zone to create the project in [North America (East)]:
[3] Europe (UK)
[6] North America (East)
[9] North America (West)
> 9
Would you like to connect the project to a GitHub repository? [y/N] y
Please enter the slug of the GitHub repository to connect the project to: test1
Are you sure you want to create the DeployHQ project `test1` in North America (West)? [y/N] y
Creating DeployHQ project `test1` in North America (West).
Project `test1` created successfully. Permalink: test1
Are you sure you want to connect the DeployHQ project `test1` (permalink test1) to the GitHub repository `a8cteam51/test1`? [y/N] y
Connecting the DeployHQ project `test1` (permalink test1) to the GitHub repository `a8cteam51/test1`.
❌ API error (500 https://opsoasis.wpspecialprojects.com/wp-json/wpcomsp/deployhq/v1/projects/test1/repository): {"code":422,"message":"Unprocessable Entity","data":null}
Failed to connect the project to the repository.
On DeployHQ the project was created ok, however, the GitHub repository was not connected.
The text was updated successfully, but these errors were encountered:
Here's more information on how to reproduce this issue:
Use team51 github:create-repository to create a new repository. Leave the options empty
The CLI will ask you for a name, enter one.
When the CLI ask you for the type, leave that empty
Once the repository is created, try to link it to a DeployHQ project, either creating a new project with deployhq:create-project, or using deployhq:connect-project-repository
The CLI will fail to connect the Project to the Repository
If you create the repository using the parameters, the connection will not fail. (eg: team51 github:create-repository my-test-repo --description="Just testing" --type=plugin
ecairol
changed the title
team51 deployhq:create-project ends in error
Connecting repo to DeployHQ ends up in Unprocessable Entity sometimes
May 2, 2024
Running the command
team51 deployhq:create-project
ends in an error:On DeployHQ the project was created ok, however, the GitHub repository was not connected.
The text was updated successfully, but these errors were encountered: