Skip to content

Commit

Permalink
chore: sync to gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Sep 6, 2023
1 parent d4513d1 commit cb72b40
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ on: push

jobs:
to_gitee:
if: "!startsWith(github.event.commits[0].message, 'release')"
# if: "!startsWith(github.event.commits[0].message, 'release')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: pixta-dev/repository-mirroring-action@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: to gitlab
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: [email protected]:ng-alain/delon.git
ssh_private_key: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

- name: to gitee
uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: [email protected]:ng-alain/delon.git
ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}

0 comments on commit cb72b40

Please sign in to comment.