Skip to content

Commit

Permalink
allow deploying from main branch (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Apr 11, 2024
1 parent 7c51da9 commit 232bad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.nu
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def main [
] {
let user = $user | default $env.USER
let repo = 'scverse/benchmark'
let run = gh --repo $repo run list --branch $branch --workflow=rust.yml --event=pull_request --status=success --json=displayTitle,headSha,startedAt,databaseId | from json | get 0
let run = gh --repo $repo run list --branch $branch --workflow=rust.yml --status=success --json=displayTitle,headSha,startedAt,databaseId | from json | get 0

echo $'Downloading artifact for ($run.displayTitle) at ($run.headSha | str substring ..7) from ($run.startedAt)'
rm --force --permanent /tmp/benchmark
Expand Down

0 comments on commit 232bad6

Please sign in to comment.