Skip to content

Commit

Permalink
remove git lfs support
Browse files Browse the repository at this point in the history
  • Loading branch information
k8scat committed Jan 3, 2022
1 parent 1859298 commit 203ed3d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
dest_host: github.com
dest_username: ${{ secrets.DEST_USERNAME }}
dest_private_key: ${{ secrets.DEST_PRIVATE_KEY }}
enable_git_lfs: "true"
push_tags: "true"
mirror_repos: ${{ steps.list_repos.outputs.repo_list }}
skip_tags_repos: "repo3,repo4"
Expand Down
5 changes: 0 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ inputs:
mirror_repos:
description: "Repos to mirror, separated by comma"
required: true
enable_git_lfs:
description: "use git lfs, true or false"
required: false
default: "false"
push_tags:
description: "Push tags via --mirror, true or false"
required: false
Expand Down Expand Up @@ -86,7 +82,6 @@ runs:
DEST_TOKEN: ${{ inputs.dest_token }}
DEST_CREATE_REPO_SCRIPT: ${{ inputs.dest_create_repo_script }}
MIRROR_REPOS: ${{ inputs.mirror_repos }}
ENABLE_GIT_LFS: ${{ inputs.enable_git_lfs }}
PUSH_TAGS: ${{ inputs.push_tags }}
SKIP_TAGS_REPOS: ${{ inputs.skip_tags_repos }}
IGNORED_REPOS: ${{ inputs.ignored_repos }}
3 changes: 0 additions & 3 deletions mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,4 @@ for repo_name in ${MIRROR_REPOS}; do
else
git push --mirror -f "${dest_addr}" || continue
fi
if [[ "${ENABLE_GIT_LFS}" = "true" ]]; then
git lfs push --all "${dest_addr}" || continue
fi
done

0 comments on commit 203ed3d

Please sign in to comment.