Skip to content

Commit

Permalink
Set package name as task
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 1, 2023
1 parent 8ac262f commit 2520325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/deployment.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ update_deployment_status <- function(universe, package, ref, buildlog, source_st
universe = universe, environment = 'r-universe', ref = ref,
description = sprintf('Deploying to https://%s.r-universe.dev/%s', universe, package),
production_environment = TRUE, auto_merge = FALSE,
task = 'deploy', required_contexts = vector())
task = paste0('deploy:', package), required_contexts = vector())

state <- ifelse(identical(source_status, 'failure'), 'failure', 'success')
gh::gh('POST /repos/r-universe/{universe}/deployments/{deployment_id}/statuses',
Expand Down

0 comments on commit 2520325

Please sign in to comment.