diff options
author | Astound <kirito@disroot.org> | 2024-08-05 03:00:44 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-08-05 03:00:44 +0800 |
commit | 28117e25955ea89f2e93df1541a49d2f06e4426f (patch) | |
tree | 3a700ecd06f6b64f9b122136a06f771b842e17ae /.gitea/workflows | |
parent | 52b8c63b9dd7d008e64ace0763ef4b50a4b87144 (diff) | |
download | resolvers-list-28117e25955ea89f2e93df1541a49d2f06e4426f.tar.lz resolvers-list-28117e25955ea89f2e93df1541a49d2f06e4426f.tar.xz resolvers-list-28117e25955ea89f2e93df1541a49d2f06e4426f.zip |
Add sync to sourcehut
Diffstat (limited to '.gitea/workflows')
-rw-r--r-- | .gitea/workflows/git-sync.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitea/workflows/git-sync.yaml b/.gitea/workflows/git-sync.yaml index 1d3f5e0..795840b 100644 --- a/.gitea/workflows/git-sync.yaml +++ b/.gitea/workflows/git-sync.yaml @@ -23,3 +23,18 @@ jobs: destination_branch: "master" source_ssh_private_key: ${{ secrets.GIT_SYNC_SOURCE_SSH_PRIVATE_KEY }} destination_ssh_private_key: ${{ secrets.GIT_SYNC_DESTINATION_SSH_PRIVATE_KEY }} + + - name: git-sync-sourcehut + env: + git_sync_source_repo: git@git.fridu.us:heckyel/resolvers-list.git + git_sync_destination_repo: git@git.sr.ht:~heckyel/resolvers-list + if: env.git_sync_source_repo && env.git_sync_destination_repo + uses: wei/git-sync@v3 + with: + source_repo: git@git.fridu.us:heckyel/resolvers-list.git + source_branch: "master" + destination_repo: git@git.sr.ht:~heckyel/resolvers-list + destination_branch: "master" + source_ssh_private_key: ${{ secrets.GIT_SYNC_SOURCE_SSH_PRIVATE_KEY }} + destination_ssh_private_key: ${{ secrets.GIT_SYNC_DESTINATION_SSH_PRIVATE_KEY }} + continue-on-error: true |