From 89de4b08fafed33730015e46a375a3da6c287d4a Mon Sep 17 00:00:00 2001 From: Andrei Fangli Date: Sun, 25 Oct 2020 21:42:54 +0200 Subject: [PATCH] Added project-site copy step --- .github/workflows/build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 17cde3d..733266e 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -20,10 +20,10 @@ jobs: git fetch origin gh-pages git checkout gh-pages New-Item -ItemType Directory -Name project-site -ErrorAction SilentlyContinue | Out-Null - New-Item -ItemType Directory -Name project-site/dev -ErrorAction SilentlyContinue | Out-Null Get-ChildItem -Exclude @(".*", "project-site") | Where-Object { ($_ -is [System.IO.DirectoryInfo] -and -not $_.Name.StartsWith("EmbeddedResourceBrowser")) -or $_ -is [System.IO.FileInfo] } | Move-Item -Destination project-site + New-Item -ItemType Directory -Name project-site/dev -ErrorAction SilentlyContinue | Out-Null git checkout ($env:GITHUB_REF.Substring("refs/heads/".Length)) - name: Generate Package Info