Skip to content

Commit bd34edd

Browse files
authored
ci: add retention policy to deployments (#2133)
* ci: add retential options to clean up old builds * ci: fix typo --------- Co-authored-by: Daniel N <[email protected]>
1 parent 5d7b1bb commit bd34edd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ jobs:
4343
echo "workflow_run.head_sha: ${{ github.event.workflow_run.head_sha }}"
4444
4545
- name: Deploy to IPFS
46-
uses: ipshipyard/ipfs-deploy-action@v1
46+
uses: ipfs/ipfs-deploy-action@07c9786c620cec27ed38ec1d56ed31c506ef8fa4
4747
id: deploy
4848
with:
4949
path-to-deploy: ${{ env.BUILD_PATH }}
5050
storacha-key: ${{ secrets.STORACHA_KEY }}
5151
storacha-proof: ${{ secrets.STORACHA_PROOF }}
5252
github-token: ${{ github.token }}
53+
retention-count: 10
54+
retention-dry-run: 'true'
5355

5456
# TODO: Add DNSLink update when needed
5557
#- name: Update DNSLink

0 commit comments

Comments
 (0)