From 4dc2e10ca98b37862430d00333b196aedbf5fd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=AB=AD=E5=8A=9B?= Date: Wed, 15 Feb 2023 19:40:39 +0800 Subject: [PATCH] Create pushtojerry.yml --- .github/workflows/pushtojerry.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pushtojerry.yml diff --git a/.github/workflows/pushtojerry.yml b/.github/workflows/pushtojerry.yml new file mode 100644 index 0000000..576a1ff --- /dev/null +++ b/.github/workflows/pushtojerry.yml @@ -0,0 +1,24 @@ +name: build documentation and publish + +on: + push: + branches: [ api_v2 ] + pull_request: + branches: [ api_v2 ] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: remove all images + - run: find . -name "*.png" | xargs rm -f + - uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB1 }} + with: + source-directory: './' + destination-github-username: 'jerrykuku' + destination-repository-name: 'appstore' + user-email: jerrykuku@qq.com + target-branch: main