From 7111bf6f8a8c4daf0b771d6ee9905614f686d44d Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Mon, 27 Mar 2023 14:23:48 +0800 Subject: [PATCH] Update push_to_new_AppStore.yml --- .github/workflows/push_to_new_AppStore.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/push_to_new_AppStore.yml b/.github/workflows/push_to_new_AppStore.yml index 4bc614b..4f93f98 100644 --- a/.github/workflows/push_to_new_AppStore.yml +++ b/.github/workflows/push_to_new_AppStore.yml @@ -14,16 +14,21 @@ jobs: - uses: actions/checkout@v3 - name: remove all file except icon.png run: find . -type f -not \( -name 'icon.png' -or -name '*.json' -or -name '*.yml' \) -delete - - name: remove .github - run: | - rm -fr ./.github - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }} with: - source-directory: '.' + source-directory: './Apps' destination-github-username: 'IceWhaleTech' - destination-repository-name: 'CasaOS-NewAppStore' + destination-repository-name: '_appstore' user-email: q2676515970@163.com - target-directory: '' + target-directory: './Apps' + + - name: Copycat + uses: andstor/copycat-action@v3 + with: + personal_token: ${{ secrets.GITHUB_TOKEN }} + src_path: ./recommend-list.json + dst_owner: IceWhaleTech + dst_repo_name: _appstore