From edd8c5b9437dd17d4bed91101da0d3062a578e33 Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Thu, 16 Feb 2023 00:22:42 +0800 Subject: [PATCH] Update pushtorally.yml --- .github/workflows/pushtorally.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pushtorally.yml b/.github/workflows/pushtorally.yml index 6f67d0a..8832896 100644 --- a/.github/workflows/pushtorally.yml +++ b/.github/workflows/pushtorally.yml @@ -12,17 +12,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: remove all png images - run: find . -name "*.png" | xargs rm -f - - name: remove all jpg images - run: find . -name "*.jpg" | xargs rm -f + - name: remove all images + run: (find . -name "*.jpg" && find . -name "*.png") | xargs rm -f + - name: remove workflows + run: rm -r .github/workflows + - name: show file + run: ls - 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' - source-directory1: './help' + source-directory: './' destination-github-username: 'raller1028' destination-repository-name: 'appstore' user-email: q2676515970@163.com