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