From fc213430a1f469ee21eafef76c2654d8b91f6056 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 16 Apr 2022 08:23:24 +0530 Subject: [PATCH] feat: move deploy instructions from make to woodpecker config --- .woodpecker.yml | 5 +++++ Makefile | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5d2cad9..4cbadd7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,3 +7,8 @@ pipeline: - make env - make - make deploy + - ./scripts/zola.sh deploy pages public "CI_COMMIT_AUTHOR " + - ./scripts/ci.sh --init $HOSTEA_WRITE_DEPLOY_KEY + - ./scripts/ci.sh --deploy $PAGES_DEPLOY_SECRET pages + - ./scripts/ci.sh --clean + diff --git a/Makefile b/Makefile index 5919d95..790c01e 100644 --- a/Makefile +++ b/Makefile @@ -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