-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #487 from mbiarnes/serverNameChange
changed server name for publishing website
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ | |
# 2. create a optaplanner directory underneath $HOME/.ssh to store the needed keys ($HOME/.ssh/optaplanner) | ||
# 3. copy known_hosts and id_rsa (the same as on Jenkins) to $HOME/.ssh/optaplanner | ||
# Then you should use: | ||
# rsync --dry-run -Pavqr -e "ssh -i $HOME/.ssh/optaplanner/id_rsa" --protocol=28 --delete-after target/website/* [email protected]:www_htdocs/optaplanner | ||
# rsync --dry-run -Pavqr -e "ssh -p 2222 -i $HOME/.ssh/optaplanner/id_rsa" --protocol=28 --delete-after target/website/* optaplanner@filemgmt-prod-sync.jboss.org:www_htdocs/optaplanner | ||
# the --dry-run is for testing so you can see if anything is missing. The files are not synced! If you want to execute a "real" rsync please remove --dry-run | ||
# | ||
############################################################################################################################################################################# | ||
|
||
rsync -Pavqr --protocol=28 --delete-after optaplanner-website-assembly/target/website-complete/* [email protected]:www_htdocs/optaplanner | ||
rsync -Pavqr -e 'ssh -p 2222' --protocol=28 --delete-after optaplanner-website-assembly/target/website-complete/* optaplanner@filemgmt-prod-sync.jboss.org:www_htdocs/optaplanner |