changing up git commands

This commit is contained in:
Andrew Welker
2020-03-18 16:53:27 -06:00
parent c23c4554af
commit 630c1d5a7f

View File

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