From bba5deb059b2e0be58bbb5c74996bd524f60d549 Mon Sep 17 00:00:00 2001 From: raller1028 <57336867+raller1028@users.noreply.github.com> Date: Wed, 15 Feb 2023 21:32:15 +0800 Subject: [PATCH] Create pushtorally --- .github/workflows/pushtorally | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/pushtorally diff --git a/.github/workflows/pushtorally b/.github/workflows/pushtorally new file mode 100644 index 0000000..4b936ff --- /dev/null +++ b/.github/workflows/pushtorally @@ -0,0 +1,25 @@ +name: build documentation and publish + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: remove all images + run: find . -name "*.png" | xargs rm -f + - 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: './' + destination-github-username: 'raller1028' + destination-repository-name: 'appstore' + user-email: 2676515970@163.com + target-branch: main