Update push_to_new_AppStore.yml (#142)
This commit is contained in:
parent
5f3842568e
commit
66702134e0
|
@ -14,30 +14,20 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- name: remove all file except icon.png
|
||||
run: find . -type f -not \( -name 'icon.png' -or -name '*.json' -or -name '*.yml' \) -delete
|
||||
- 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: './Apps'
|
||||
destination-github-username: 'IceWhaleTech'
|
||||
destination-repository-name: '_appstore'
|
||||
user-email: q2676515970@163.com
|
||||
target-directory: './Apps'
|
||||
- name: cp
|
||||
run: |
|
||||
mkdir ./tmp
|
||||
cp -r ./Apps ./tmp
|
||||
cp recommend-list.json category-list.json ./tmp
|
||||
ls ./tmp
|
||||
- name: Copycat
|
||||
uses: andstor/copycat-action@v3
|
||||
- name: Pushes to another repository
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB2 }}
|
||||
with:
|
||||
personal_token: ${{ secrets.API_TOKEN_GITHUB2 }}
|
||||
src_path: ./tmp
|
||||
dst_owner: IceWhaleTech
|
||||
dst_repo_name: _appstore
|
||||
email: q2676515970@163.com
|
||||
src_branch: main
|
||||
dst_branch: main
|
||||
clean: true
|
||||
source-directory: './tmp'
|
||||
destination-github-username: 'IceWhaleTech'
|
||||
destination-repository-name: '_appstore'
|
||||
user-email: q2676515970@163.com
|
||||
target-directory: './'
|
||||
|
||||
|
|
Loading…
Reference in New Issue