mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 14:29:16 +08:00
Create schedule-trigger.yml
This commit is contained in:
parent
8b8c044a67
commit
ce253a2c97
17
.github/workflows/schedule-trigger.yml
vendored
Normal file
17
.github/workflows/schedule-trigger.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: schedule trigger
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 18 */3 * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Run a multi-line script
|
||||
run: |
|
||||
curl -s -m 30 -X POST "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/actions/workflows/download-upstream.yml/dispatches" -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ secrets.PERSON_TOKEN }}" -d '{"ref":"adlist-maker"}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user