Update auto-rebuild.yml

This commit is contained in:
gentlyxu 2021-05-29 11:08:40 +08:00 committed by GitHub
parent c3de8021df
commit f88cc2cff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,4 +37,7 @@ jobs:
with: with:
github_token: ${{ secrets.PERSON_TOKEN }} github_token: ${{ secrets.PERSON_TOKEN }}
branch: 'master' branch: 'master'
- name: sync
run: |
curl -s -m 30 -X POST "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/actions/workflows/sync-to-dist.yml/dispatches" -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.PERSON_TOKEN }}" -d '{"ref":"master"}'