attempt with rest (#8381)

This commit is contained in:
Maurizio Vitale 2023-03-15 20:22:45 +01:00 committed by GitHub
parent 5ebab419f5
commit ebabcf2c2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,10 +15,10 @@ jobs:
script: |
const payload = {
package_name: "${{ github.event.registry_package.name }}",
package_version: "${{ github.event.registry_package.package_version.name }}""
package_version: "${{ github.event.registry_package.package_version.name }}"
};
await github.repos.createDispatchEvent({
await github.rest.repos.createDispatchEvent({
owner: context.repo.owner,
repo: "alfresco-apps",
event_type: "package-published",