Create pushtojerry.yml

This commit is contained in:
老竭力 2023-02-15 19:40:39 +08:00 committed by GitHub
parent 115a1e8a6b
commit 4dc2e10ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
.github/workflows/pushtojerry.yml vendored Normal file
View File

@ -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