We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2ed13e commit cf6745eCopy full SHA for cf6745e
1 file changed
.github/workflows/deploy.yml
@@ -41,7 +41,17 @@ jobs:
41
branch: master
42
name_is_regexp: true
43
name: ICSharpCode\.CodeConverter\.Web\..*\.zip
44
- path: site
+ path: site-temp
45
+
46
+ - name: Move web files to site root
47
+ if: ${{ inputs.deployWeb }}
48
+ shell: pwsh
49
+ run: |
50
+ $subDir = Get-ChildItem -Path site-temp -Directory | Select-Object -First 1
51
+ if ($subDir) {
52
+ Move-Item -Path "$($subDir.FullName)/*" -Destination site/
53
+ Remove-Item $subDir.FullName
54
+ }
55
56
- name: Download release artifacts
57
if: ${{ inputs.createRelease || inputs.publishNuget }}
@@ -52,7 +62,7 @@ jobs:
62
63
name: ICSharpCode\.CodeConverter.*\.(nupkg|vsix)$
64
path: release-artifacts
- skip_unpack: true
65
+ skip_unpack: false
66
67
- name: Extract build version from artifacts
58
68
id: get_version
0 commit comments