Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Add 'Approve and Deploy' button #214

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Add 'Approve and Deploy' button #214

merged 1 commit into from
Nov 8, 2021

Conversation

noahingh
Copy link
Member

@noahingh noahingh commented Nov 8, 2021

In the usual way, the reviewer who is maintaining the project has reviewed and deploy it. So we should provide the 'Approve and Deploy' button to make users handy. :)

image

@noahingh noahingh added the component: ui This issue or pull request is related to the feature of the UI-side label Nov 8, 2021
@noahingh noahingh added this to the v0.3 milestone Nov 8, 2021
Comment on lines +78 to +80
if (deployment?.status === DeploymentStatusEnum.Waiting) {
await dispatch(deployToSCM())
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Deploy it when the status is waiting.

@noahingh noahingh merged commit e077536 into main Nov 8, 2021
@noahingh noahingh deleted the fix-approve-btn branch November 8, 2021 13:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: ui This issue or pull request is related to the feature of the UI-side
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant