Skip to content

Periodic Trigger

Periodic Trigger #31

Workflow file for this run

name: Periodic Trigger
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Trigger the main workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EVENT: periodic
ORG: ForNeVeR
REPO: msdn-delocalizer
run: |
curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"