diff options
Diffstat (limited to '.github/workflows/git-repo-sync.yml')
-rw-r--r-- | .github/workflows/git-repo-sync.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/git-repo-sync.yml b/.github/workflows/git-repo-sync.yml new file mode 100644 index 0000000..0c5df56 --- /dev/null +++ b/.github/workflows/git-repo-sync.yml @@ -0,0 +1,19 @@ +name: sync + +on: + - push + - delete + +jobs: + sync: + runs-on: ubuntu-latest + name: Git Repo Sync + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: wangchucheng/git-repo-sync@main + with: + target-url: 'https://gitee.com/wangchucheng/hugo-eureka.git' + target-username: 'wangchucheng' + target-token: ${{ secrets.GITEE_ACCESS_TOKEN }}
\ No newline at end of file |