Skip to content

Commit

Permalink
add correct pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 16, 2024
1 parent c6b7bb0 commit 44d9a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
run: |
RELEASE_BRANCH=$(jq -r '.release_branch' release-info.json)
RELEASE_DOWNLOAD_URL=$(jq -r '.release_download_url' release-info.json)
DEPENDENCY_PACKAGE=$(jq -r '.dependency_package' release-info.json)
echo "RELEASE_BRANCH=$RELEASE_BRANCH" >> $GITHUB_ENV
echo "RELEASE_DOWNLOAD_URL=$RELEASE_DOWNLOAD_URL" >> $GITHUB_ENV
echo "DEPENDENCY_PACKAGE=$DEPENDENCY_PACKAGE" >> $GITHUB_ENV
- name: Invoke external PR workflow
uses: fjogeleit/http-request-action@v1
with:
Expand All @@ -32,6 +34,6 @@ jobs:
"client_payload": {
"branch": "${{ env.RELEASE_BRANCH }}",
"build_url": "${{ env.RELEASE_DOWNLOAD_URL }}",
package: "danskernesdigitalebibliotek/dpl-react"
dependency_package: "${{ env.DEPENDENCY_PACKAGE }}"
}
}
1 change: 1 addition & 0 deletions .github/workflows/create-release-on-branch-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
run: |
printf '{
"release_branch": "${{ env.RELEASE_BRANCH }}",
"dependency_package": "danskernesdigitalebibliotek/dpl-react",
"release_download_url": "https://github.com/reload/poc-dpl-react-pr-trigger/releases/download/${{ env.TAG_NAME }}/${{ env.DIST_FILENAME }}"
}' >> release-info.json
Expand Down

0 comments on commit 44d9a5d

Please sign in to comment.