fix: npm install cmd
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2023-02-13 16:21:52 +05:30
parent fcee258207
commit 308ebbd447
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -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.email "${CI_COMMIT_AUTHOR_EMAIL}"
git config --global user.name "${CI_COMMIT_AUTHOR}" git config --global user.name "${CI_COMMIT_AUTHOR}"
./scripts/hugo.sh deploy librepages public "${CI_COMMIT_AUTHOR} <${CI_COMMIT_AUTHOR_EMAIL}>" ./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 --deploy ${LIBREPAGES_DEPLOY_SECRET} librepages
./scripts/ci.sh --clean ./scripts/ci.sh --clean
env: ## Download build dependencies and setup dev environment env: ## Download build dependencies and setup dev environment
./scripts/hugo.sh install ./scripts/hugo.sh install
npm run install npm ci
npm run clean
npm run build npm run build
help: ## Prints help for targets with comments help: ## Prints help for targets with comments