Create pushtorally

This commit is contained in:
raller1028 2023-02-15 21:32:15 +08:00 committed by GitHub
parent dcc50e42af
commit bba5deb059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/pushtorally vendored Normal file
View File

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