fix permission, sync to gitee

This commit is contained in:
uubulb
2024-11-06 10:58:58 +08:00
parent 479f6449ed
commit 7ac19b7b0a
4 changed files with 19 additions and 0 deletions

16
.github/workflows/sync-code.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Sync Code to Gitee
on:
push:
branches: [main]
jobs:
sync-code-to-gitee:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
with:
destination_repository: git@gitee.com:naibahq/scripts.git
destination_branch_name: main
destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }}