Skip to content

Automatically backup Git repositories, on GitHub using GitHub Actions

License

Notifications You must be signed in to change notification settings

r-jb/CodeStreisand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeStreisand

This project is for automatically archiving Git repositories using GitHub Actions. It creates a bundle for each repository in a list, and hosts them in a separate branch.

See this demo.

Features

  • Backup repositories to a GitHub repository
  • Automatically update the archived repos
  • Supports posting to the Software Heritage

Usage

Tip

If you want to host your archives privately, you can also import this repo using GitHub Importer

  1. Fork this repository
  2. Edit list.txt with the URLs of the repositories you want to archive, one per line
  3. Trigger the manual run by going to Actions -> Update Archives -> Run Workflow
  4. (Optional) Change the update schedule in main.yml

Note

The results are stored in the archive branch by default