Skip to content

Commit

Permalink
Added project-site copy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei15193 committed Oct 25, 2020
1 parent 3460170 commit 89de4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89de4b0

Please sign in to comment.