adds delete step to push to public repo

This commit is contained in:
Andrew Welker
2020-03-26 10:07:43 -06:00
parent f6ef7017a2
commit 83298bb06a

View File

@@ -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