From 308ebbd4476a2c6dc9df6c2d0d4655fbbe8cd850 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 13 Feb 2023 16:21:52 +0530 Subject: [PATCH] fix: npm install cmd --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 418f9cd..6529e6a 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,14 @@ ci-deploy: ## Deploy from CI/CD. Only call from within CI git config --global user.email "${CI_COMMIT_AUTHOR_EMAIL}" git config --global user.name "${CI_COMMIT_AUTHOR}" ./scripts/hugo.sh deploy librepages public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" - ./scripts/ci.sh --init "$$GITEA_WRITE_DEPLOY_KEY" + ./scripts/ci.sh --init "$$FORGEJO_WRITE_DEPLOY_KEY" ./scripts/ci.sh --deploy ${LIBREPAGES_DEPLOY_SECRET} librepages ./scripts/ci.sh --clean env: ## Download build dependencies and setup dev environment ./scripts/hugo.sh install - npm run install + npm ci + npm run clean npm run build help: ## Prints help for targets with comments