Skip to content

Commit

Permalink
add auto-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa-nematpour committed Nov 23, 2023
1 parent 8d8ebed commit fb32991
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/autosync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Auto Sync

on:
schedule:
- cron: '0 0 * * *' # At 00:00. https://crontab.guru/
workflow_dispatch: # on button click

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: TobKed/github-forks-sync-action@master
with:
github_token: ${{ secrets.UPSTREAM_SYNC_TOKEN }}
upstream_repository: vuejs/docs
upstream_branch: main
target_repository: vuejs-translations/docs-fa
target_branch: upstream
force: false
tags: false

0 comments on commit fb32991

Please sign in to comment.