Skip to content

Commit

Permalink
deploy downloads to website01
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Dec 9, 2024
1 parent 39efe71 commit 92d03ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pipeline {
script {
base_dir = "/var/www/vhosts/downloads/htdocs/discovery"
destination_user = 'downloads'
destination_server = 'web01.osuosl.theforeman.org'
destination_server = 'website01.osuosl.theforeman.org'
destination_dir = "${base_dir}/${output_dir}"

sshagent(['deploy-downloads']) {
Expand Down
2 changes: 1 addition & 1 deletion theforeman.org/pipelines/release/tarballsRelease.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void build_tarball(project, version, ruby_ver) {
bundleExec(ruby_ver, "rake pkg:generate_source")

sshagent(['deploy-downloads']) {
sh "rsync -v --ignore-existing pkg/* downloads@web01.osuosl.theforeman.org:${base_dir}/"
sh "rsync -v --ignore-existing pkg/* downloads@website01.osuosl.theforeman.org:${base_dir}/"
}
}
}

0 comments on commit 92d03ea

Please sign in to comment.