From 467c4b19a39ad65377b954adf3214f76bdebaac2 Mon Sep 17 00:00:00 2001 From: ttionya Date: Tue, 2 Jun 2020 16:08:48 +0800 Subject: [PATCH] test(main): add test and example file --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..52fb09d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: 'sync-to-other-hub' + +on: + push: + delete: + +jobs: + github: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: ./ + with: + target_repository: 'git@github.com:ttionya/Repository-Sync-Hub-Test.git' + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + gitee: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: ./ + with: + target_repository: 'git@gitee.com:ttionya/Repository-Sync-Hub-Test.git' + ssh_private_key: ${{ secrets.GITEE_SSH_PRIVATE_KEY }}