Skip to content

Commit

Permalink
Use force push for only javascript files to avoid any merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnielsen-MS committed Jul 30, 2024
1 parent 9d14c8f commit 68f4b76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/official-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git pull origin ${{ steps.extract_branch.outputs.branch }}
git add .
git add lib/.
git commit -m 'Official Build: Compile TypeScript to JavaScript'
git push origin HEAD:${{ steps.extract_branch.outputs.branch }}
git push --force origin HEAD:${{ steps.extract_branch.outputs.branch }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 68f4b76

Please sign in to comment.