diff --git a/.github/workflows/swarm-upload.yaml b/.github/workflows/swarm-upload.yaml index 11c5454..520a78a 100644 --- a/.github/workflows/swarm-upload.yaml +++ b/.github/workflows/swarm-upload.yaml @@ -23,9 +23,8 @@ jobs: run: | npm ci npm run build - npm run export - name: Upload to Swarm - uses: ethersphere/swarm-actions/upload-dir@v0 + uses: ethersphere/swarm-actions/upload-dir@latest id: upload with: dir: ./out @@ -33,10 +32,10 @@ jobs: postage-batch-id: ${{ secrets.PRIVATE_POSTAGE_BATCH_ID }} bee-url: ${{ secrets.PRIVATE_BEE_URL }} timeout: 300000 - headers: | - authorization: ${{ secrets.PRIVATE_API_TOKEN }} + deferred: false + - name: Setup feed - uses: ethersphere/swarm-actions/write-feed@v0 + uses: ethersphere/swarm-actions/write-feed@latest id: feed with: reference: ${{ steps.upload.outputs.reference }} @@ -44,8 +43,7 @@ jobs: postage-batch-id: ${{ secrets.PRIVATE_POSTAGE_BATCH_ID }} bee-url: ${{ secrets.PRIVATE_BEE_URL }} signer: ${{ secrets.PRIVATE_SIGNER }} - headers: | - authorization: ${{ secrets.PRIVATE_API_TOKEN }} + - uses: ethersphere/swarm-actions/reference-to-cid@v0 id: cid with: