1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-22 10:52:10 +00:00

Update node.js.yml

This commit is contained in:
Florian Bouillon 2021-04-26 12:31:08 +02:00 committed by GitHub
parent 5a4a1f4399
commit c246f3597c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,9 @@ jobs:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- name: CUrl to the compiler
run: |
curl -XPOST -H 'Accept: application/vnd.github.everest-preview+json' -H "Authorization: Bearer $PAC" -d '{"event_type": "webhook"}' 'https://api.github.com/repos/tcgdex/compiler/dispatches'
env:
PAC: ${{ secrets.PAC }}
- name: Compiler Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PAC }}
repository: tcgdex/compiler
event-type: my-event