diff --git a/.github/workflows/SyncToGitee.yml b/.github/workflows/SyncToGitee.yml deleted file mode 100644 index eaa6a6f..0000000 --- a/.github/workflows/SyncToGitee.yml +++ /dev/null @@ -1,39 +0,0 @@ -on: - push: - pull_request_target: - branches: [master] -name: Tests / test-user-mirror (cached) -jobs: - run: - name: Run - runs-on: ubuntu-latest - steps: - - name: Checkout source code - uses: actions/checkout@v1 - - - name: Get Time - id: get-time - run: | - echo "::set-output name=date::$(/bin/date -u "+%Y%m%d%H%M%S")" - shell: bash - - - name: Cache src repos - uses: actions/cache@v1 - id: cache - with: - path: ${{ github.workspace }}/hub-mirror-cache - key: ${{ runner.os }}-hub-repos-cache-${{ steps.get-time.outputs.date }} - restore-keys: ${{ runner.os }}-hub-repos-cache - - - name: Mirror Github to Gitee with white list and cache - uses: ./. - with: - src: github/Yikun - dst: gitee/yikunkero - dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} - dst_token: ${{ secrets.GITEE_TOKEN }} - force_update: true - - - name: Print cache path - run: | - ls -la ${{ github.workspace }}/hub-mirror-cache