mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
added a couple of check steps and the push back in
This commit is contained in:
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
@@ -119,12 +119,14 @@ jobs:
|
||||
with:
|
||||
name: Build
|
||||
path: ./
|
||||
- name: Check directory
|
||||
run: Get-ChildItem ./
|
||||
- name: Unzip Build file
|
||||
run: |
|
||||
Get-ChildItem ./
|
||||
Get-ChildItem -Path ./ -include @("*.zip") | Expand-Archive -DestinationPath ./
|
||||
Remove-Item -Path ./ -include @("*.zip")
|
||||
Get-ChildItem ./
|
||||
- name: Check directory again
|
||||
run: Get-ChildItem ./
|
||||
- name: Copy build output and push
|
||||
shell: powershell
|
||||
run: |
|
||||
@@ -137,8 +139,8 @@ jobs:
|
||||
git tag $($Env:VERSION)
|
||||
$branch = $($Env:GITHUB_REF) -Replace "refs/heads/"
|
||||
Write-Output $branch
|
||||
# git push --set-upstream origin $($branch) --force
|
||||
# git push --tags origin
|
||||
git push --set-upstream origin $branch --force
|
||||
git push --tags origin
|
||||
- name: Check Directory
|
||||
run: |
|
||||
Get-ChildItem "./"
|
||||
|
||||
Reference in New Issue
Block a user