From 630c1d5a7f351b5943e6432eec87d8e9878cecb7 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Wed, 18 Mar 2020 16:53:27 -0600 Subject: [PATCH] changing up git commands --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f6eb5d8..ad981ba 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -130,7 +130,7 @@ jobs: - name: Copy build output and push shell: powershell run: | - git checkout -B $($Env:GITHUB_REF -replace "refs/heads/") + git checkout -b $($Env:GITHUB_REF -replace "refs/heads/") git config user.email "actions@pepperdash.com" git config user.name "GitHub Actions" git add . @@ -138,7 +138,7 @@ jobs: Write-Host $commit git commit -m $commit git tag $($Env:VERSION) - git push -u origin --force + git push -u origin $($Env:GITHUB_REF -replace "refs/heads/") --force git push --tags origin - name: Check Directory run: |