Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Repo Sync #32

Open
marcialwushu opened this issue Aug 1, 2021 · 1 comment
Open

Git Repo Sync #32

marcialwushu opened this issue Aug 1, 2021 · 1 comment

Comments

@marcialwushu
Copy link
Owner

name: <action-name>

on: 
  - push
  - delete

jobs:
  sync:
    runs-on: ubuntu-latest
    name: Git Repo Sync
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: wangchucheng/[email protected]
      with:
        # Such as https://github.com/wangchucheng/git-repo-sync.git
        target-url: <target-url>
        # Such as wangchucheng
        target-username: <target-username>
        # You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }}
        target-token: <target-token>

https://github.com/wangchucheng/git-repo-sync

@marcialwushu
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant