Update pushtorally.yml

This commit is contained in:
raller1028 2023-02-15 23:54:52 +08:00 committed by GitHub
parent dc05eb3f01
commit 689404490b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 7 deletions

View File

@ -12,12 +12,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: isntall git
run: sudo apt install --yes git
- name: git global
run: sudo git config --global --add safe.directory '*'
- name: remove all images - name: remove all images
run: sudo find . -name "*.png" | xargs sudo rm -f run: find . -name "*.png" | xargs rm -f
- name: Pushes to another repository - name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main uses: cpina/github-action-push-to-another-repository@main
env: env:
@ -25,6 +21,5 @@ jobs:
with: with:
source-directory: './Apps' source-directory: './Apps'
destination-github-username: 'raller1028' destination-github-username: 'raller1028'
destination-repository-name: 'appstore/tree/main/Apps' destination-repository-name: 'appstore'
user-email: q2676515970@163.com user-email: q2676515970@163.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}