This repository is an example of triggering a GitHub Actions workflow via the repository dispatch event.
The repository dispatch event will trigger a new workflow execution that creates or updates your repo's dates.txt with a new date.
- Fork the repo to your account
- Ensure
curlis installed. (https://curl.haxx.se/) - Then, Open the command line interface application of your choice and make this
curlrequest, replacing$TOKENwith a personal access token and:ownerand:repowith the appropriate values
curl -v -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token $TOKEN" \
https://api.github.com/repos/:owner/:repo/dispatches \
-d '{"event_type":"update-dates-file"}'