From ca094df6f13986bb101a478b2edc4fe4bea6e22f Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Wed, 19 Jul 2023 01:01:23 +0200 Subject: [PATCH] Rename the Chinese README for https://git.x64dbg.cn --- .github/workflows/gitee.yml | 24 ++++++++++++++++++++++++ README_zh-CN.md => README_zh.md | 0 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/gitee.yml rename README_zh-CN.md => README_zh.md (100%) diff --git a/.github/workflows/gitee.yml b/.github/workflows/gitee.yml new file mode 100644 index 00000000..5c2c8ab1 --- /dev/null +++ b/.github/workflows/gitee.yml @@ -0,0 +1,24 @@ +name: Gitee sync + +on: [push] + +jobs: + gitee-push: + runs-on: windows-2019 + env: + GITEE_USERNAME: ${{ secrets.GITEE_USERNAME }} + GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 100 + + - name: Push to gitee + run: | + git remote add gitee "https://${{ env.GITEE_USERNAME }}:${{ env.GITEE_TOKEN }}@gitee.com/${{ github.repository }}.git" + git push --force gitee "${{ github.ref }}" + git remote remove gitee + + + \ No newline at end of file diff --git a/README_zh-CN.md b/README_zh.md similarity index 100% rename from README_zh-CN.md rename to README_zh.md