Skip to content

Commit dbc73b8

Browse files
authored
[Backport][v1.83.x][PHP]updated workflow to preserve github folder (#43243)
updated php workflow . cherry pic from [d7b1b66]
1 parent c876f4d commit dbc73b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/push_php_mirror.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
path: mirror
2727
token: ${{ secrets.PHP_EXT_TOKEN }}
2828

29-
- name: Clean Mirror Repo (except .git & .gitignore)
29+
- name: Clean Mirror Repo (except .git & .gitignore & .github)
3030
run: |
31-
find mirror -maxdepth 1 ! -name '.git' ! -name '.gitignore' ! -name 'mirror' -exec rm -rf {} +
31+
find mirror -maxdepth 1 ! -name '.git' ! -name '.gitignore' ! -name '.github' ! -name 'mirror' -exec rm -rf {} +
3232
3333
- name: Sync Files to Mirror
3434
run: |

0 commit comments

Comments
 (0)