Skip to content

Commit

Permalink
Backup: Mirrors Init
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchivalone committed Nov 21, 2024
1 parent 078eb1a commit a09eb04
Showing 1 changed file with 52 additions and 2 deletions.
54 changes: 52 additions & 2 deletions .github/workflows/github-action-mirror-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '*'

jobs:
sync:
bitbucket:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
Expand All @@ -18,10 +18,60 @@ jobs:
fetch-depth: 0

- name: Sync up to Bitbucket
id: bitbucket
id: sync
uses: quantran-novobi/sync-up-to-bitbucket-action@v1
with:
bitbucket_repository_name: brs-psp-research-initiative
bitbucket_workspace_name: the_archival_one
bitbucket_access_token: ${{ secrets.BITBUCKET_ACCESS_TOKEN }}

codeberg:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync up to Codeberg
id: sync
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://codeberg.org/thearchivalone/BRS-PSP-Research-Initiative.git'
GIT_USERNAME: thearchivalone
GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}

beanstalk:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync up to Beanstalk
id: sync
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://the-archival-one.git.beanstalkapp.com/brs-psp-research-initiative.git'
GIT_USERNAME: thearchivalone
GIT_PASSWORD: ${{ secrets.BEANSTALK_PASSWORD }}

archive:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- 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: .


0 comments on commit a09eb04

Please sign in to comment.