From a6656247ab28a7372f81200ad589c8f32b8defa7 Mon Sep 17 00:00:00 2001 From: Spencer Phillip Young Date: Wed, 11 Aug 2021 09:12:24 -0700 Subject: [PATCH 1/3] Create mirror.yml --- .github/workflows/mirror.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..ffbec72 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,28 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: + - '**' + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - uses: actions/checkout@v1 + - name: mirror-repository + uses: spyoungtech/mirror-action@test + with: + REMOTE: git@gitlab.com:spyoungtech/hikvision-recover.git + GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} + GIT_SSH_NO_VERIFY_HOST: "true" + DEBUG: "true" From 4ca43a2fd6d97b0e02222153bbb15cab4a8c5350 Mon Sep 17 00:00:00 2001 From: Spencer Phillip Young Date: Wed, 11 Aug 2021 09:13:55 -0700 Subject: [PATCH 2/3] Update mirror.yml --- .github/workflows/mirror.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index ffbec72..25f5c19 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -24,5 +24,5 @@ jobs: with: REMOTE: git@gitlab.com:spyoungtech/hikvision-recover.git GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} - GIT_SSH_NO_VERIFY_HOST: "true" + GIT_SSH_NO_VERIFY_HOST: true DEBUG: "true" From 5cbac85908fa99f9177714a9479bc691068f9f15 Mon Sep 17 00:00:00 2001 From: Spencer Phillip Young Date: Wed, 11 Aug 2021 09:16:37 -0700 Subject: [PATCH 3/3] Update mirror.yml --- .github/workflows/mirror.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 25f5c19..8f326fb 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -24,5 +24,5 @@ jobs: with: REMOTE: git@gitlab.com:spyoungtech/hikvision-recover.git GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} - GIT_SSH_NO_VERIFY_HOST: true + GIT_SSH_NO_VERIFY_HOST: false DEBUG: "true"