summaryrefslogtreecommitdiff
path: root/src/ci_runner.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2023-07-01 14:08:00 -0700
committeriximeow <me@iximeow.net>2023-07-01 14:08:00 -0700
commitec5a274436bc8dda0b55d2c4da1411ff3c52434d (patch)
tree34bc1890b2a0cacd4d9e941e7b2221afe39ecfe9 /src/ci_runner.rs
parent4657e736b6067c4dd0e25ad14253fdb8febffd89 (diff)
add a notion of runs distinct from jobs, lets see how well this goes over
Diffstat (limited to 'src/ci_runner.rs')
-rw-r--r--src/ci_runner.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci_runner.rs b/src/ci_runner.rs
index 4052ba5..330490c 100644
--- a/src/ci_runner.rs
+++ b/src/ci_runner.rs
@@ -129,7 +129,7 @@ impl RunningJob {
let (mut sender, body) = hyper::Body::channel();
let resp = self.client.http.post("https://ci.butactuallyin.space:9876/api/artifact")
.header("user-agent", "ci-butactuallyin-space-runner")
- .header("x-job-token", &self.job.build_token)
+ .header("x-task-token", &self.job.build_token)
.header("x-artifact-name", name)
.header("x-artifact-desc", desc)
.body(body)