This commit is contained in:
Eric Lee 2023-12-13 15:17:09 +08:00
parent 233fc54e94
commit 637679cdfd

View file

@ -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"