Create readme.yml

This commit is contained in:
Evil0ctal 2022-01-02 15:20:57 -08:00 committed by GitHub
parent 6450e611b7
commit 6c79347ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/readme.yml vendored Normal file
View 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