Skip to content

Commit

Permalink
fix find type :release
Browse files Browse the repository at this point in the history
  • Loading branch information
foxundermoon committed Jan 28, 2020
1 parent 5744d5b commit 0dff817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
cp -r "${{ env.OUT_DIR }}" ./out
rm -rf ./out/_next
find ./out -type file |xargs -I ^_^ sed -i -e "s|${{ env.IPNS }}|/ipfs/${{ env.ASSETS_IPFS_CID }}|g" ^_^
find ./out -type f |xargs -I ^_^ sed -i -e "s|${{ env.IPNS }}|/ipfs/${{ env.ASSETS_IPFS_CID }}|g" ^_^
./go-ipfs/ipfs --api=/dns4/ncov.fox.mn/tcp/5001 add -r ./out/ --hidden |tee -a rst.log
IPFS_CID=$(cat ./rst.log | tail -n 1 | awk '{print $2}')
echo "::set-env name=IPFS_CID::${IPFS_CID}"
Expand Down

0 comments on commit 0dff817

Please sign in to comment.