Skip to content

Commit 6853e7a

Browse files
authored
Merge pull request #166 from rcpch/mbarton/umd-oopsi
Remove umd subfolder from sri-hash.txt
2 parents 87d4326 + 0726f09 commit 6853e7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
echo "SRI_HASH=$SRI_HASH" >> $GITHUB_ENV
3131
3232
# Create a file with the hash that will be published with the package
33-
echo "$SRI_HASH" > build/umd/sri-hash.txt
33+
echo "$SRI_HASH" > build/sri-hash.txt
3434
3535
# Also add to release notes
3636
echo "## SRI Hash" >> $GITHUB_STEP_SUMMARY
3737
echo "For secure CDN usage with this release:" >> $GITHUB_STEP_SUMMARY
3838
echo "\`\`\`html" >> $GITHUB_STEP_SUMMARY
39-
echo "<script src=\"https://cdn.jsdelivr.net/npm/@rcpch/digital-growth-charts-react-component-library@${{ github.event.release.tag_name }}/build/umd/rcpch-digital-growth-charts.umd.min.js\"" >> $GITHUB_STEP_SUMMARY
39+
echo "<script src=\"https://cdn.jsdelivr.net/npm/@rcpch/digital-growth-charts-react-component-library@${{ github.event.release.tag_name }}/build/rcpch-digital-growth-charts.umd.min.js\"" >> $GITHUB_STEP_SUMMARY
4040
echo " integrity=\"$SRI_HASH\"" >> $GITHUB_STEP_SUMMARY
4141
echo " crossorigin=\"anonymous\"></script>" >> $GITHUB_STEP_SUMMARY
4242
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)