From 23674efc47fb5502e68e9a59044c7c72adb0cf82 Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Wed, 21 Jun 2023 10:52:24 +0800 Subject: [PATCH] https://github.com/cskefu/cskefu/issues/837 add sync repo of gitee workflow --- .github/workflows/gitee.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/gitee.yml diff --git a/.github/workflows/gitee.yml b/.github/workflows/gitee.yml new file mode 100644 index 00000000..f316dd61 --- /dev/null +++ b/.github/workflows/gitee.yml @@ -0,0 +1,19 @@ +name: gitee + +on: + - push + - delete + +jobs: + sync: + runs-on: ubuntu-latest + name: Git Repo Sync + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: wangchucheng/git-repo-sync@v0.1.0 + with: + target-url: https://gitee.com/cskefu/cskefu.git + target-username: ${{ secrets.USERNAME }} + target-token: ${{ secrets.ACCESS_TOKEN }} \ No newline at end of file