Skip to content

Commit

Permalink
chore: print correct urls for actors & builds on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Dec 11, 2024
1 parent 2dc374e commit d217453
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/toolchain/toolchain/src/tasks/deploy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,14 @@ impl task::Task for Task {
// Build to use as an example
let (example_build_name, _example_build) = example_build.context("no example build")?;

let hub_origin = &ctx.bootstrap.origins.hub;
let project_id = ctx.project.game_id;
let env_id = env.id;
task.log("");
task.log("Deployed:");
task.log("");
task.log(" Actors: https://hub.rivet.gg/todo");
task.log(" Builds: https://hub.rivet.gg/todo");
task.log(format!(" Actors: {hub_origin}/projects/{project_id}/environments/{env_id}/actors"));
task.log(format!(" Builds: {hub_origin}/projects/{project_id}/environments/{env_id}/builds"));
task.log(format!(" Endpoint: {}", manager_res.endpoint));
task.log("");
task.log("Next steps:");
Expand Down

0 comments on commit d217453

Please sign in to comment.