Skip to content

Commit

Permalink
πŸ‘· (workflows): Add automatic mirroring to GitLab and Gitee
Browse files Browse the repository at this point in the history
添加到`gitlab`ε’Œ`gitee`ηš„θ‡ͺεŠ¨ι•œεƒ
  • Loading branch information
czy-29 committed Sep 19, 2024
1 parent 9da5d82 commit 8850094
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, workflow_dispatch]

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/opensound-org/opensound.git'
REMOTE_NAME: gitlab
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitee.com/opensound-org/opensound.git'
REMOTE_NAME: gitee
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITEE_PASSWORD }}

0 comments on commit 8850094

Please sign in to comment.