diff --git a/.github/workflows/create-release-on-branch-changes.yml b/.github/workflows/create-release-on-branch-changes.yml index 9aeaf7c56..98b1d6df6 100644 --- a/.github/workflows/create-release-on-branch-changes.yml +++ b/.github/workflows/create-release-on-branch-changes.yml @@ -85,20 +85,12 @@ jobs: body: ${{ env.RELEASE_DESCRIPTION }} files: ${{ env.DIST_FILENAME }} - # - name: Write release information in artifact file - # run: | - # printf '{ - # "release_branch": "${{ env.RELEASE_BRANCH }}", - # "dependency_package": "danskernesdigitalebibliotek/dpl-design-system", - # "release_download_url": "${{ env.DOWNLOAD_URL }}" - # }' >> release-info.json - # env: - # DOWNLOAD_URL: "${{ github.event.repository.html_url }}/releases/download/${{ env.TAG_NAME }}/${{ env.DIST_FILENAME }}" - - - uses: actions/upload-artifact@v3 - with: - name: release-info.json - path: ./release-info.json + - name: Dispatch CMS PR creation workflow + run: | + gh workflow run create-cms-pr.yml \ + -f releaseBranch=${{ env.RELEASE_BRANCH }} \ + -f releaseDownloadUrl=${{ env.DOWNLOAD_URL }} \ + -f dependencyPackage=danskernesdigitalebibliotek/dpl-design-system - name: Adding summary run: |