From 284f96aa03c9a457d7918706ee346b67a2a8c5c4 Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Wed, 8 Mar 2023 12:18:30 +0800 Subject: [PATCH] Create push_to_new_AppStore.yml --- .github/workflows/push_to_new_AppStore.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/push_to_new_AppStore.yml diff --git a/.github/workflows/push_to_new_AppStore.yml b/.github/workflows/push_to_new_AppStore.yml new file mode 100644 index 0000000..febabad --- /dev/null +++ b/.github/workflows/push_to_new_AppStore.yml @@ -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'