-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
56b5f91
commit f3d82df
Showing
1 changed file
with
45 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,20 +16,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to Bitbucket | ||
id: sync | ||
run: | | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to Bitbucket | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: '[email protected]:the_archival_one/brs-psp-research-initiative.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
chmod 700 ~/.ssh/id_ed25519 | ||
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
git remote add mirror [email protected]:the_archival_one/brs-psp-research-initiative.git | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
codeberg: | ||
runs-on: ubuntu-24.04 | ||
|
@@ -39,21 +36,18 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to Codeberg | ||
id: sync | ||
run: | | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to Codeberg | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: '[email protected]:thearchivalone/BRS-PSP-Research-Initiative.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
|
||
chmod 700 ~/.ssh/id_ed25519 | ||
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
git remote add mirror [email protected]:thearchivalone/BRS-PSP-Research-Initiative.git | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
beanstalk: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
|
@@ -62,20 +56,18 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to Beanstalk | ||
id: sync | ||
run: | | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to Beanstalk | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: '[email protected]:/the-archival-one/brs-psp-research-initiative.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
echo "${{ secrets.BEANSTALK_SSH_PRIVATE }}" > ~/.ssh/id_rsa | ||
chmod 700 ~/.ssh/id_rsa | ||
echo "${{ secrets.BEANSTALK_SSH_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
ssh-keyscan the-archival-one.git.beanstalkapp.com | ||
git remote add mirror [email protected]:/the-archival-one/brs-psp-research-initiative.git | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
gitgud: | ||
runs-on: ubuntu-24.04 | ||
|
@@ -85,20 +77,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to GitGud | ||
id: sync | ||
run: | | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to GitGud | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: '[email protected]:thearchivalone/brs-psp-research-initiative.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
chmod 700 ~/.ssh/id_ed25519 | ||
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
git remote add mirror [email protected]:thearchivalone/brs-psp-research-initiative.git | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
gitlab: | ||
runs-on: ubuntu-24.04 | ||
|
@@ -108,20 +97,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to GitLab | ||
id: sync | ||
run: | | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to GitLab | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: '[email protected]:thearchivalone1/BRS-PSP-Research-Initiative.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
chmod 700 ~/.ssh/id_ed25519 | ||
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
git remote add mirror [email protected]:thearchivalone1/BRS-PSP-Research-Initiative.git | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
sourceforge: | ||
runs-on: ubuntu-24.04 | ||
|
@@ -131,21 +117,17 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup secure connection | ||
id: secure | ||
- name: Sync up to Sourceforge | ||
id: sync | ||
run: | | ||
git pull origin main | ||
env | ||
mkdir -p ~/.ssh | ||
echo "${{ secrets.SSH_KEY_PRIVATE }}" > ~/.ssh/id_ed25519 | ||
chmod 600 ~/.ssh/id_ed25519 | ||
- name: Sync up to Sourceforge | ||
id: sync | ||
uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: 'ssh://[email protected]/p/brs-psp-research-initiative-1/code' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY_PRIVATE }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
chmod 700 ~/.ssh/id_ed25519 | ||
echo "${{ secrets.SSH_KEY_PUBLIC }}" > ~/.ssh/id_ed25519.pub | ||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts | ||
git remote add mirror ssh://[email protected]/p/brs-psp-research-initiative-1/code | ||
git push --tags --force --prune mirror 'refs/remotes/origin/*:refs/heads/*' | ||
archive: | ||
runs-on: ubuntu-24.04 | ||
|