This topic was automatically generated from Slack. You can find the original thread here.
HI guys….
Please how do I remove edits on a deployed workflow… or revert to the working deployment such that I can edit that deployment.
As seen here, I have a blank space in this workflow window because I was trying to copy and paste the code elsewhere… I did a cut and paste and now I can’t revert to the deployed state.
I know I can check past runs, copy and paste the code in… but I believe there is a better way to do this than that.
If you’re using Github Sync on the project, you could check out the past branch with the version you’d like to redeploy and issue a new empty commit and remerge into production to reissue the deployment.
Deploys are immutable, but you can deploy a new version of the workflow so that events are piped to the newest fixed version.
I want events to go to the current deployment, but I want to edit that deployment…. which isnt possible once I’ve tried to edit and the workflow has ‘saved’ automatically. It saves whatever is there and doesnt revert it. So if I deploy that, like in the screenshot, it’s not deploying any code to work with
I’m not using Github Sync or wont be using it in all cases.