From 637679cdfd6d24c086d469c459c662f87133d551 Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Wed, 13 Dec 2023 15:17:09 +0800 Subject: [PATCH] finalize --- entrypoint.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index deb0b5f..dc33ce1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,11 +6,11 @@ source /gh-toolkit/shell.sh gh_username="$INPUT_GH_USERNAME" gh_accesstoken="$INPUT_GH_ACCESSTOKEN" -gitea_host="$INPUT_GITEA_HOST" -gitea_username="$INPUT_GITEA_USERNAME" -gitea_accesstoken="$INPUT_GITEA_ACCESSTOKEN" -gitea_gist_prefix="$INPUT_GITEA_GIST_PREFIX" -gitea_gist_surfix="$INPUT_GITEA_GIST_SURFIX" +gitea_host="$INPUT_GT_HOST" +gitea_username="$INPUT_GT_USERNAME" +gitea_accesstoken="$INPUT_GT_ACCESSTOKEN" +gitea_gist_prefix="$INPUT_GT_GIST_PREFIX" +gitea_gist_surfix="$INPUT_GT_GIST_SURFIX" gistsSource="$INPUT_GISTSSOURCE" gistsStared="$INPUT_GISTSSTARED" repositoryStared="$INPUT_REPOSITORYSTARED" @@ -19,7 +19,8 @@ repositoryForked="$INPUT_REPOSITORYFORKED" localCache="$INPUT_LOCALCACHE" echo "###[group] Setting Up Gitea Mirror Script" -git clone https://github.com/varunsridharan/github-gitea-mirror ./mirror-handler +# git clone https://github.com/varunsridharan/github-gitea-mirror ./mirror-handler +git clone https://git.api.net.tw/git.admin/action-gitea-mirror.git ./mirror-handler echo "###[endgroup]" cd ./mirror-handler echo "🗳️ Updating Settings"