mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-01-22 22:39:16 +08:00
18 lines
462 B
YAML
18 lines
462 B
YAML
|
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"}'
|
||
|
|
||
|
|