Skip to content

Commit c120de9

Browse files
committed
ci: force add build directory to ensure all files are committed in GitHub Actions workflow
1 parent 3d28a4b commit c120de9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ jobs:
4040
4141
- name: Commit build results
4242
run: |
43-
git add build/
43+
git add build/ -f
4444
git diff --quiet && git diff --staged --quiet || (git commit -m "chore: update build files [skip ci]" && git push)

0 commit comments

Comments
 (0)