Skip to content

Commit 7e03501

Browse files
committed
update tullia
1 parent f5e9b53 commit 7e03501

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/cloud/actions.nix

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,36 +33,33 @@
3333
branch = lib.removePrefix "refs/heads/" pushBody.ref;
3434
in {
3535
io = ''
36-
let cfg = {
36+
let push = {
3737
#lib.io.github_push,
3838
#input: "${factNames.push}"
3939
#repo: "input-output-hk/cicero"
40-
#default_branch: false
41-
inputs: _final_inputs
4240
}
4341
44-
_final_inputs: inputs
4542
inputs: {
46-
cfg.inputs
43+
push.inputs
4744
4845
"${factNames.ci}": match: {
4946
ok: true
50-
revision: cfg._revision
47+
revision: push._revision
5148
}
5249
}
5350
5451
output: {
5552
success: deployed: true
5653
failure: deployed: false
5754
[string]: {
58-
revision: cfg._revision
55+
revision: push._revision
5956
6057
_sub: string
61-
if cfg._branch == cfg._default_branch {
58+
if push._branch == push._default_branch {
6259
_sub: ""
6360
}
64-
if cfg._branch != cfg._default_branch {
65-
_sub: "\(cfg._branch)."
61+
if push._branch != push._default_branch {
62+
_sub: "\(push._branch)."
6663
}
6764
url: "https://\(_sub)cicero.ci.iog.io"
6865
}

0 commit comments

Comments
 (0)