diff --git a/.github/workflows/translate-action.yml b/.github/workflows/translate-action.yml new file mode 100644 index 0000000..fc2850c --- /dev/null +++ b/.github/workflows/translate-action.yml @@ -0,0 +1,20 @@ +name: Translate README + +on: + push: + branches: + - translate +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 - Chinese Simplified + uses: dephraiim/translate-readme@main + with: + LANG: zh-CN \ No newline at end of file