Skip to content

Commit 68f4b76

Browse files
Use force push for only javascript files to avoid any merge issues
1 parent 9d14c8f commit 68f4b76

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/official-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ jobs:
4444
run: |
4545
git config --global user.name 'github-actions[bot]'
4646
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
47-
git pull origin ${{ steps.extract_branch.outputs.branch }}
48-
git add .
47+
git add lib/.
4948
git commit -m 'Official Build: Compile TypeScript to JavaScript'
50-
git push origin HEAD:${{ steps.extract_branch.outputs.branch }}
49+
git push --force origin HEAD:${{ steps.extract_branch.outputs.branch }}
5150
env:
5251
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)