Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
vesla0x1 committed Apr 3, 2024
1 parent 097405a commit d621f5e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/github-actions-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ jobs:
- name: Add build files to IPFS
run: |
cp -r public /tmp/ipfsin/public
docker exec ipfs_host "ipfs add -r /export/public > /data/ipfs/out"
docker exec ipfs_host /bin/sh -c "ipfs add -r /export/public > data/ipfs/out"
- name: check output
run: cat /tmp/ipfsout/out
run: |
export CID=$(cat /tmp/ipfsout/out | tail -n 1 | awk '{split($0,s); print s[2]}')
echo $CID
- name: Pin by CID
run: |
Expand Down

0 comments on commit d621f5e

Please sign in to comment.