mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
adds $() for branch name and fixes env for getting ref
This commit is contained in:
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -115,7 +115,7 @@ jobs:
|
||||
- name: Copy build output and push
|
||||
run: |
|
||||
$branch = $(${{ env.GITHUB_REF }}) -Replace "refs/heads/";
|
||||
git checkout -b $branch
|
||||
git checkout -b $($branch)
|
||||
Get-ChildItem -Path "./Build" | Copy-Item -Path ./
|
||||
Remove-Item -Path ./Build -Recurse
|
||||
git add .
|
||||
|
||||
Reference in New Issue
Block a user