Create readme.yml
This commit is contained in:
parent
6450e611b7
commit
6c79347ca9
1 changed files with 25 additions and 0 deletions
25
.github/workflows/readme.yml
vendored
Normal file
25
.github/workflows/readme.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: Translate README
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12.x
|
||||||
|
# ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
|
||||||
|
- name: Adding README - English
|
||||||
|
uses: dephraiim/translate-readme@main
|
||||||
|
with:
|
||||||
|
LANG: en
|
||||||
|
- name: Adding README - Chinese Traditional
|
||||||
|
uses: dephraiim/translate-readme@main
|
||||||
|
with:
|
||||||
|
LANG: zh-TW
|
||||||
Loading…
Reference in a new issue