From e9e6a962230b738aaf6265d203770b77636e4cc3 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 2 Jan 2023 22:23:40 +0530 Subject: [PATCH] fix: configure git --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 3e0615c..75f2c1f 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,8 @@ ci-deploy: ## Deploy from CI/CD. Only call from within CI then echo "Only call from within CI. Will re-write your local Git configuration. To override, set export CI=woodpecker"; \ exit 1; \ fi + git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}" + git config --global user.name "${CI_COMMIT_AUTHOR}" ./scripts/ci.sh --init "$$GITEA_WRITE_DEPLOY_KEY" ./scripts/ci.sh --deploy librepages dist "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" #./scripts/ci.sh --deploy librepages dist