diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 587a795..02deb42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,12 +68,17 @@ jobs: retries: 3 script: | const owner = 'italia-opensource'; - const repo = 'italia-opensource-website'; - const event_type = 'deployment'; + const repo = 'italiaopensource.com'; + const event_type = 'sync-database'; const ref = 'main'; + const client_payload = { + "hash": "${{ github.sha }}", + "run_id": "${{ github.run_id }}", + }; github.rest.repos.createDispatchEvent({ owner, repo, - event_type + event_type, + client_payload });