mirror of
https://github.com/tiennm99/tiennm99.github.io.git
synced 2026-10-11 12:19:11 +00:00
feat: mirror
This commit is contained in:
1 parent
70cf1b5abe
commit
a168f11bcc
2 files changed
+31
-2
No files matched your search
@@ -0,0 +1,29 @@
|
||||
name: Mirror to other platforms
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
mirror:
|
||||
runs-on: ubuntu-latest
|
||||
name: Mirror Repository
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Mirror to GitLab
|
||||
uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
target_repo_url: git@gitlab.com:miti99/miti99.gitlab.io.git
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
- name: Mirror to Bitbucket
|
||||
uses: pixta-dev/repository-mirroring-action@v1
|
||||
with:
|
||||
target_repo_url: git@bitbucket.org:miti99/miti99.bitbucket.io.git
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
Reference in new issue
Block a user