A GitHub action that backs up your repo's source code to IPFS.
MIT License
A GitHub Action that backs up your repository's source code to IPFS.
.github/workflows/repo-backup.yml
with the following contents:name: 'repo-backup'
on:
push:
branches:
- main
jobs:
repo-backup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: repo-backup-ipfs
uses: Dhaiwat10/[email protected]
with:
web3storage_token: ${{ secrets.WEB3STORAGE_TOKEN }}