fix dispatch github action
@@ -4,11 +4,12 @@ on:
branches:
- master
jobs:
- ping-pong:
+ dispatch:
runs-on: ubuntu-latest
steps:
- name: dispatch validation
run: |
curl -X POST https://api.github.com/repos/gammapy/gammapy-benchmarks/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
- -u ${{ secrets.REMOTE_DISPATCH }} --data '{"event_type": "validate"}'
+ -u ${{ secrets.REMOTE_DISPATCH }} \
+ --data '{"event_type": "validate"}'
