diff --git a/flake.lock b/flake.lock index d0b4885..62cf52b 100644 --- a/flake.lock +++ b/flake.lock @@ -6323,11 +6323,11 @@ "std": "std_6" }, "locked": { - "lastModified": 1673288142, - "narHash": "sha256-LrUhUX0rK1tbjNo1tov+ZCDnLWKNM4UjuMvnX7DhBsU=", + "lastModified": 1673967538, + "narHash": "sha256-jv3S5zlHuOsaj3wxftPTXrZJCZqtMtcJYlrJ1Tg1iJE=", "owner": "input-output-hk", "repo": "tullia", - "rev": "41502706d4bbd299b991ecbe79b4893e69cd5999", + "rev": "6c4cb98a266891c40134e621ee5fc3a321143fc3", "type": "github" }, "original": { diff --git a/nix/cloud/actions.nix b/nix/cloud/actions.nix index 7ea8eb8..dfc3770 100644 --- a/nix/cloud/actions.nix +++ b/nix/cloud/actions.nix @@ -33,21 +33,18 @@ branch = lib.removePrefix "refs/heads/" pushBody.ref; in { io = '' - let cfg = { + let push = { #lib.io.github_push, #input: "${factNames.push}" #repo: "input-output-hk/cicero" - #default_branch: false - inputs: _final_inputs } - _final_inputs: inputs inputs: { - cfg.inputs + push.inputs "${factNames.ci}": match: { ok: true - revision: cfg._revision + revision: push._revision } } @@ -55,14 +52,14 @@ success: deployed: true failure: deployed: false [string]: { - revision: cfg._revision + revision: push._revision _sub: string - if cfg._branch == cfg._default_branch { + if push._branch == push._default_branch { _sub: "" } - if cfg._branch != cfg._default_branch { - _sub: "\(cfg._branch)." + if push._branch != push._default_branch { + _sub: "\(push._branch)." } url: "https://\(_sub)cicero.ci.iog.io" }