Skip to content

Commit

Permalink
Merge branch 'main' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
GasperX93 authored Oct 1, 2024
2 parents 6844beb + 985fea1 commit 9ebefdf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/swarm-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,27 @@ 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
index-document: index.html
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 }}
topic: "swarm-homepage"
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:
Expand Down

0 comments on commit 9ebefdf

Please sign in to comment.