feat: move deploy instructions from make to woodpecker config

change-homepage-tagline
Aravinth Manivannan 2022-04-16 08:23:24 +05:30
parent 8a9dfcb1d3
commit fc213430a1
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 5 additions and 3 deletions

View File

@ -7,3 +7,8 @@ pipeline:
- make env
- make
- make deploy
- ./scripts/zola.sh deploy pages public "CI_COMMIT_AUTHOR <CI_COMMIT_AUTHOR_EMAIL>"
- ./scripts/ci.sh --init $HOSTEA_WRITE_DEPLOY_KEY
- ./scripts/ci.sh --deploy $PAGES_DEPLOY_SECRET pages
- ./scripts/ci.sh --clean

View File

@ -5,9 +5,6 @@ default: ## Build the website
clean: ## Clean build assets
./scripts/zola.sh clean
deploy: ## Deploy build
./scripts/zola.sh deploy pages public
env: ## Download build dependencies and setup dev environement
./scripts/zola.sh install