From 39469e32aa89dbad3ba218bc907cd1ec50eba1f1 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Tue, 11 Jun 2019 19:37:20 -0500 Subject: [PATCH] will this finally work? --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 838b1d08..841175bc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -80,11 +80,10 @@ before_deploy: { # Copy current site into tags cd origin_site # make things a bit easier - $source = Get-Location $tagPath = Join-Path $source "tags/$env:APPVEYOR_REPO_TAG_NAME" New-Item -ItemType directory -Path $tagPath - Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') | Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)} - + Copy-Item -Path (Get-ChildItem -Exclude ('.git','tags')).FullName -Destination $tagPath -Recurse + git add -A 2>&1 git commit -q -a -m "Saved tag $env:APPVEYOR_REPO_TAG_NAME" 2>&1 }