diff --git a/.github/workflows/github-action-mirror-sync.yml b/.github/workflows/github-action-mirror-sync.yml index ce64f66..e607271 100644 --- a/.github/workflows/github-action-mirror-sync.yml +++ b/.github/workflows/github-action-mirror-sync.yml @@ -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: @@ -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 diff --git a/Docs/Repository/Mirrors.MD b/Docs/Repository/Mirrors.MD new file mode 100644 index 0000000..5fd498a --- /dev/null +++ b/Docs/Repository/Mirrors.MD @@ -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