Skip to content

Commit

Permalink
update tullia
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Jan 19, 2023
1 parent f5e9b53 commit 7e03501
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions nix/cloud/actions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,33 @@
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
}
}
output: {
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"
}
Expand Down

0 comments on commit 7e03501

Please sign in to comment.