Skip to content

Commit 9208a5e

Browse files
committed
cd: fix branch release scripts
1 parent 3c7b21b commit 9208a5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/cd-news-player.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
- uses: fregante/setup-git-user@v2
4444
- name: Append !dist to gitignore
4545
run: echo '!dist' >> .gitignore
46+
- name: Stage dist folders
47+
run: git add **/dist
4648
- name: Commit changes to git
47-
run: git commit -am "Update .gitignore to include !dist"
49+
run: git commit -m "Add dist folders"
4850
- name: Force push to release-news-player
49-
run: git push origin release-news-player --force
51+
run: git push -uf origin release-news-player

0 commit comments

Comments
 (0)