Skip to content

Commit

Permalink
👷 (workflows): Add automatic mirroring to GitLab and Gitee
Browse files Browse the repository at this point in the history
  • Loading branch information
czy-29 committed Nov 19, 2024
1 parent 1763520 commit 315011f
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/template-rs.git'
REMOTE_NAME: gitlab
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitee.com/opensound-org/template-rs.git'
REMOTE_NAME: gitee
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITEE_PASSWORD }}

0 comments on commit 315011f

Please sign in to comment.