Update push_to_new_AppStore.yml

This commit is contained in:
raller1028 2023-03-27 14:23:48 +08:00 committed by GitHub
parent c1b6f128dd
commit 7111bf6f8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 6 deletions

View File

@ -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