Skip to content

Commit

Permalink
Backup: Improved Actions + Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchivalone committed Nov 22, 2024
1 parent 74ccad2 commit a079e41
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 2 deletions.
39 changes: 37 additions & 2 deletions .github/workflows/github-action-mirror-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,37 @@ jobs:
GIT_USERNAME: thearchivalone
GIT_PASSWORD: ${{ secrets.BEANSTALK_PASSWORD }}

GitGud:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync up to GitGud
id: sync
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitgud.io/thearchivalone/brs-psp-research-initiative.git'
GIT_USERNAME: thearchivalone
GIT_PASSWORD: ${{ secrets.GITGUD_TOKEN }}

GitLab:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync up to GitLab
id: sync
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/thearchivalone1/BRS-PSP-Research-Initiative.git'
GIT_USERNAME: thearchivalone
GIT_PASSWORD: ${{ secrets.GITLAB_TOKEN }}
sourceforge:
runs-on: ubuntu-24.04
steps:
Expand All @@ -81,13 +112,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compress Repository
id: compress
run:
git archive --format=tar.gz -o Backup.tar.gz --prefix=$(basename $PWD)/ main
- name: Sync up to Internet Archive
id: ia_sync
uses: qoijjj/internet-archive-upload@v7
with:
access-key: ${{ secrets.IA_ACCESS_KEY }}
secret-key: ${{ secrets.IA_SECRET_KEY }}
identifier: BRS-Research-Initiative
files: .
identifier: BRS-Research-Initiative-Current
files: Backup.tar.gz


29 changes: 29 additions & 0 deletions Docs/Repository/Mirrors.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Repository Mirrors List

---

*Copyright 2024 - Brad D*

*See LICENSE for copyright information.*

*Please include this header and that license for any derivative works.*

*NOTE: Only the documentation, tools and anything that's not directly a part of the game's data fall under this copyright. I don't claim any ownership of the game or any of its assets*

---

This documentation is for a feature primarily intended as a fail safe. For the time being, the Github repository will be the canonical main repository. This list contains alternative services that will be available and kept in sync with the main repository in case something happens that takes it down. Pull requests, issue tracking, discussions, etc, will not be available on them unless they are needed as the new main repository. The main goal of having multiple mirrored locations is to future proof the documentation and tools provided here.

---

* Gitlab: https://gitlab.com/thearchivalone1/BRS-PSP-Research-Initiative.git

* Codeberg: https://codeberg.org/thearchivalone/BRS-PSP-Research-Initiative.git

* Sourceforge: https://sourceforge.net/projects/brs-psp-research-initiative-1/

* Beanstalk: https://the-archival-one.git.beanstalkapp.com/brs-psp-research-initiative.git

* Bitbucket: https://bitbucket.org/the_archival_one/brs-psp-research-initiative.git

* Archive.org: https://archive.org/details/BRS-Research-Initiative

0 comments on commit a079e41

Please sign in to comment.