Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update existing deployment #18

Open
bradyclifford opened this issue Sep 23, 2024 · 3 comments
Open

Update existing deployment #18

bradyclifford opened this issue Sep 23, 2024 · 3 comments

Comments

@bradyclifford
Copy link
Contributor

In cases where we want to set the deployment as pending, and then update it later to success. In most cases within the same GitHub deployment workflow.

But in cases where we deploy to a predeploy and do not automatically swap. Rather perform manually regression or enable a canary, we need to be able to update an existing deployment record later.

Provider a way to update said existing deployment with a completion status.

@bradyclifford
Copy link
Contributor Author

Perhaps this action can output the deployment ID.

And then take it as an input. If input exists, it replaces it instead of creating a new deployment.

@bradyclifford
Copy link
Contributor Author

However, I am not seeing a PUT or PATCH method to actually update an existing. This might not be possible.
https://docs.github.com/en/rest/deployments/deployments?apiVersion=2022-11-28

@bradyclifford
Copy link
Contributor Author

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

No branches or pull requests

1 participant