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