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