improve action responsiveness by improving when update is sent out rel to action state set

This commit is contained in:
mbecker20
2024-08-11 14:59:34 -07:00
parent 85a16f6c6f
commit b0f80cafc3
11 changed files with 188 additions and 81 deletions
+2
View File
@@ -48,6 +48,8 @@ impl Resolve<DeployStack, (User, Update)> for State {
let _action_guard =
action_state.update(|state| state.deploying = true)?;
update_update(update.clone()).await?;
let git_token = crate::helpers::git_token(
&stack.config.git_provider,
&stack.config.git_account,