Skip to content

Commit

Permalink
docs: update README example
Browse files Browse the repository at this point in the history
  • Loading branch information
cythilya committed Aug 1, 2024
1 parent f116b03 commit 685bd97
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,28 @@ This GitHub Action translates .md files from one repository and syncs them to an
## Example Usage

```yaml
name: Use Translate and Sync to Repo EN Action
name: Translate and Sync to Repo

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

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

steps:
- name: Use Translate and Sync to Repo EN Action
uses: your-username/[email protected]
- 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: cythilya/front-end-testing-en
target-repo: your-username/target-repo
```

0 comments on commit 685bd97

Please sign in to comment.