Skip to content

cythilya/translate-and-sync-to-repo

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translate and Sync to Repo

This GitHub Action translates .md files from one repository and syncs them to another repository.

Inputs

  • github-token: (required) GitHub token.
  • target-repo: (required) Target repository to sync translated files.

Example Usage

name: Translate and Sync to Repo

on:
  push:
    branches:
      - main
    paths:
      - '**/*.md'

jobs:
  translate-and-sync:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Source Repository
        uses: actions/checkout@v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Use Translate and Sync to Repo Action
        uses: cythilya/translate-and-sync@main
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          target-repo: your-username/target-repo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published