From 83298bb06ac5a5679a1225201407858afa76a612 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Thu, 26 Mar 2020 10:07:43 -0600 Subject: [PATCH] adds delete step to push to public repo --- .github/workflows/docker.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c65c01f6..ffb235e6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -221,6 +221,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 .\* -Include @("*.cpz","*.md","*.cplz","*.json","*.dll","*.clz") + Get-ChildItem -Path .\output\* | Copy-Item -Destination .\ + 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