Create push_to_new_AppStore.yml

This commit is contained in:
raller1028 2023-03-08 12:18:30 +08:00 committed by GitHub
parent b57d75857a
commit 284f96aa03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
name: build documentation and publish
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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: 'CasaOS-NewAppStore'
user-email: q2676515970@163.com
target-directory: './Apps'