Update Merge.yaml
parent
15e2a037ec
commit
d6a221e90c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue