repo-backup-ipfs

A GitHub action that backs up your repo's source code to IPFS.

MIT License

Stars
4
Committers
1

repo-backup-ipfs

A GitHub Action that backs up your repository's source code to IPFS.

How to use

  1. Create a workflow file in your repository at .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 }}
  1. Add your web3.storage API token as a secret in your repository as a repository secret. You can get your API token from web3.storage.