Update push_to_new_AppStore.yml
This commit is contained in:
parent
c1b6f128dd
commit
7111bf6f8a
|
@ -14,16 +14,21 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: remove all file except icon.png
|
- name: remove all file except icon.png
|
||||||
run: find . -type f -not \( -name 'icon.png' -or -name '*.json' -or -name '*.yml' \) -delete
|
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
|
- name: Pushes to another repository
|
||||||
uses: cpina/github-action-push-to-another-repository@main
|
uses: cpina/github-action-push-to-another-repository@main
|
||||||
env:
|
env:
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
|
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
|
||||||
with:
|
with:
|
||||||
source-directory: '.'
|
source-directory: './Apps'
|
||||||
destination-github-username: 'IceWhaleTech'
|
destination-github-username: 'IceWhaleTech'
|
||||||
destination-repository-name: 'CasaOS-NewAppStore'
|
destination-repository-name: '_appstore'
|
||||||
user-email: q2676515970@163.com
|
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
|
||||||
|
|
Loading…
Reference in New Issue