greenhouse/yolov3/.github/workflows/translate-readme.yml
apoorva 34abb2b0dd Add 'yolov3/' from commit '76d848608107780ef92eae7fcbb151b91b6ee368'
git-subtree-dir: yolov3
git-subtree-mainline: acb43f001dc87d510517c6975bc993cc6008d7f2
git-subtree-split: 76d848608107780ef92eae7fcbb151b91b6ee368
2023-02-21 21:38:24 +05:30

27 lines
707 B
YAML

# YOLOv3 🚀 by Ultralytics, GPL-3.0 license
# README translation action to translate README.md to Chinese as README.zh-CN.md on any change to README.md
name: Translate README
on:
push:
branches:
- translate_readme # replace with 'master' to enable action
paths:
- README.md
jobs:
Translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
# ISO Language Codes: https://cloud.google.com/translate/docs/languages
- name: Adding README - Chinese Simplified
uses: dephraiim/translate-readme@main
with:
LANG: zh-CN