From d6a221e90cb0bdab2549e8d60ba410e530aa10fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=BE=A4=20=E5=85=8B=E5=B9=B8?= <4ranci0ne@gmail.com> Date: Sat, 15 Apr 2023 15:34:33 +0900 Subject: [PATCH] Update Merge.yaml --- .github/workflows/Merge.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Merge.yaml b/.github/workflows/Merge.yaml index ec0de2d..5212e04 100644 --- a/.github/workflows/Merge.yaml +++ b/.github/workflows/Merge.yaml @@ -14,10 +14,9 @@ jobs: steps: - name: checkout repo content uses: actions/checkout@v3 - with: - repository: Katsuyuki-Karasawa/sd.webui-i18n-source - path: template - token: ${{ secrets.OTHER_REPO_TOKEN }} + + - name: clone i18n-source + run: git clone https://github.com/Katsuyuki-Karasawa/sd.webui-i18n-source.git template - name: Setup Python uses: actions/setup-python@v4 @@ -26,6 +25,10 @@ jobs: - name: merge translation run: python './tools/merge.py' + + - name: delete ./template + run: rm -rf template + - name: commit files run: | if git diff-index --quiet HEAD --; then @@ -41,4 +44,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: main \ No newline at end of file + branch: main