From bcfd90204bedd2b8df3d8263c0cc9205d875215f Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Wed, 25 Mar 2020 15:46:09 -0600 Subject: [PATCH] adds step to copy files to root --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 27078b41..de5b4c64 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -144,6 +144,12 @@ jobs: Remove-Item -Path .\*.zip - name: Check directory again run: Get-ChildItem ./ + # Copy Contents of output folder to root directory + - name: Copy Files to root & delete output directory + run: | + Remove-Item -Path .\*.* + Get-ChildItem -Path .\output\*.* | Copy-Item -DestinationPath .\ + Remove-Item -Path .\output -Recurse # Commits the build output to the branch and tags it with the version - name: Commit build output and tag the commit shell: powershell