Update Merge.yaml

pull/102/head
唐澤 克幸 2023-04-15 15:34:33 +09:00 committed by GitHub
parent 15e2a037ec
commit d6a221e90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -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
branch: main