From 4bae70dbe9844aa6419b62f8cf368836e893e90d Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Thu, 16 Feb 2023 11:12:58 +0800 Subject: [PATCH] Update pushtorally.yml --- .github/workflows/pushtorally.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pushtorally.yml b/.github/workflows/pushtorally.yml index 0afd2df..d3f003c 100644 --- a/.github/workflows/pushtorally.yml +++ b/.github/workflows/pushtorally.yml @@ -12,18 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: remove all images - run: (find . -name "*.jpg" && find . -name "*.png") | xargs rm -f - - name: remove file - run: | - rm -rf .github/workflows - rm -rf featured-apps.json - rm -rf category-list.json - rm -rf .gitignore - rm -rf README.md - rm -rf help - - name: show file - run: ls + - name: remove all file except icon.png + run: find . -type f -not \( -name 'icon.png' \) -delete - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: