This commit is contained in:
parent
fcee258207
commit
308ebbd447
1 changed files with 3 additions and 2 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Reference in a new issue