From 969211ac3e22a078bc8b0464df7430835dced148 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Thu, 2 Nov 2023 15:57:50 +0100 Subject: [PATCH] Use default environment (production) --- R/deployment.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/deployment.R b/R/deployment.R index 3fe8ac0..bb6a30c 100644 --- a/R/deployment.R +++ b/R/deployment.R @@ -10,7 +10,7 @@ #' @param source_status string with result of building source pkg including vignettes update_deployment_status <- function(universe, package, ref, buildlog, source_status){ deployment <- gh::gh('POST /repos/r-universe/{universe}/deployments', - universe = universe, environment = 'r-universe', ref = ref, + universe = universe, ref = ref, description = sprintf('Deploying to https://%s.r-universe.dev/%s', universe, package), production_environment = TRUE, auto_merge = FALSE, task = paste0('deploy:', package), required_contexts = vector())