feat: move deploy instructions from make to woodpecker config
parent
8a9dfcb1d3
commit
fc213430a1
|
@ -7,3 +7,8 @@ pipeline:
|
||||||
- make env
|
- make env
|
||||||
- make
|
- make
|
||||||
- make deploy
|
- 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
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -5,9 +5,6 @@ default: ## Build the website
|
||||||
clean: ## Clean build assets
|
clean: ## Clean build assets
|
||||||
./scripts/zola.sh clean
|
./scripts/zola.sh clean
|
||||||
|
|
||||||
deploy: ## Deploy build
|
|
||||||
./scripts/zola.sh deploy pages public
|
|
||||||
|
|
||||||
env: ## Download build dependencies and setup dev environement
|
env: ## Download build dependencies and setup dev environement
|
||||||
./scripts/zola.sh install
|
./scripts/zola.sh install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue