try s3_put_object()
This commit is contained in:
parent
f42d470e34
commit
6e4dc1d478
1 changed files with 5 additions and 2 deletions
|
|
@ -53,7 +53,10 @@ add_to_package_index <- function(
|
|||
cli::cli_alert_warning("DEBUG: PACKAGES UPLOAD remote dir: {pkgs_upload_remote}")
|
||||
}
|
||||
|
||||
dummy <- s3fs::s3_file_upload(pkgs_upload_local, pkgs_upload_remote, overwrite = TRUE)
|
||||
s3 <- paws.storage::s3(endpoint = endpoint, region = region)
|
||||
s3$put_object(Body = pkgs_upload_local, Bucket = bucket, Key = "__linux__/rhel9/latest/src/contrib/PACKAGES")
|
||||
|
||||
# dummy <- s3fs::s3_file_upload(pkgs_upload_local, pkgs_upload_remote, overwrite = TRUE)
|
||||
# s3fs::s3_file_upload(
|
||||
# sprintf("%s/%s", local_bin_dir, c("PACKAGES", "PACKAGES.db", "PACKAGES.rds", "PACKAGES.gz")),
|
||||
# sprintf("%s", remote_bin_dir, c("PACKAGES", "PACKAGES.db", "PACKAGES.rds", "PACKAGES.gz")),
|
||||
|
|
|
|||
Loading…
Reference in a new issue