👷 (workflows): 将 GitLab
镜像替换为自托管的 Gitea
#102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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://gitea.29bot.com/29bot/29bot.com.git' | |
REMOTE_NAME: gitea | |
GIT_USERNAME: 29bot | |
GIT_PASSWORD: ${{ secrets.GITEA_PASSWORD }} | |
- uses: yesolutions/mirror-action@master | |
with: | |
REMOTE: 'https://gitee.com/czy29/29bot.com.git' | |
REMOTE_NAME: gitee | |
GIT_USERNAME: czy29 | |
GIT_PASSWORD: ${{ secrets.GITEE_PASSWORD }} |