Skip to content

Commit

Permalink
ci: sha
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Jan 30, 2025
1 parent 4e40da4 commit 47383de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/deploy-to-ipfs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ outputs:
value: ${{ steps.merkleize.outputs.cid }}

runs:
using: 'composite'
using: "composite"
steps:
- name: Install ipfs-car
shell: bash
Expand All @@ -66,6 +66,7 @@ runs:
echo $CID
echo "✅ Merkleized path: `{{ inputs.path-to-deploy }}` into CAR file with root CID $CID" >> $GITHUB_STEP_SUMMARY
- name: Configure and upload CAR to Storacha
shell: bash
env:
Expand All @@ -87,6 +88,7 @@ runs:
echo "- 🔗 [Service Worker Preview](https://inbrowser.link/ipfs/${{ steps.merkleize.outputs.cid }})" >> $GITHUB_STEP_SUMMARY
fi
- name: Upload CAR to Filebase
if: ${{ inputs.filebase-access-key != '' }}
shell: bash
Expand Down Expand Up @@ -128,6 +130,10 @@ runs:
script: |
const cid = '${{ steps.merkleize.outputs.cid }}';
// For PR events, we need to use the head SHA
const sha = context.eventName === 'pull_request'
? context.payload.pull_request.head.sha
: context.sha;
await github.rest.repos.createCommitStatus({
owner: context.repo.owner,
Expand Down

0 comments on commit 47383de

Please # to comment.