Skip to content

Commit

Permalink
Write info about rsync arguments #98
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonZiminSaritasa committed Sep 18, 2018
1 parent 28352e7 commit d401761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Expand Up @@ -46,8 +46,11 @@ Task publish-web -depends pre-publish -description '* Publish all web apps to sp
{
$publishDir = "$src/$projectName/bin/$Configuration/netcoreapp2.1/publish"
Remove-Item "$publishDir/web.config"
Exec { rsync -av --delete-excluded `
"$publishDir/" "$DeployUsername@$($WebServer):$WwwrootPath/$SiteName" }

$params = @('-av', '--delete-excluded', "$publishDir/",
"$DeployUsername@$($WebServer):$WwwrootPath/$SiteName")
Write-Information "Running command: rsync $params"
Exec { rsync $params }

# TODO: Fix Systemd service name.
$serviceName = 'example-web'
Expand Down
2 changes: 1 addition & 1 deletion src/YeomanGenerator/generator-psgallery/package.json
@@ -1,6 +1,6 @@
{
"name": "generator-psgallery",
"version": "1.9.1",
"version": "1.10.0",
"description": "Yeoman generator for common Psake tasks",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d401761

Please sign in to comment.