Skip to content

Commit f82c605

Browse files
committed
Removing, we are not using the submodules.
For upgrading docsy, we can just use the hugo command. I will do that i an separate PR Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
1 parent 70218e6 commit f82c605

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

Makefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ GOVOLUMES= -v $(shell pwd)/.cache:/go/cache:delegated,z \
126126
-v $(shell pwd)/.pkg:/go/pkg:delegated,z \
127127
-v $(shell pwd):/go/src/github.com/cortexproject/cortex:delegated,z
128128

129-
exes $(EXES) protos $(PROTO_GOS) lint test cover shell mod-check check-protos web-build web-pre web-deploy doc modernize: build-image/$(UPTODATE)
129+
exes $(EXES) protos $(PROTO_GOS) lint test cover shell mod-check check-protos doc modernize: build-image/$(UPTODATE)
130130
@mkdir -p $(shell pwd)/.pkg
131131
@mkdir -p $(shell pwd)/.cache
132132
@echo
@@ -241,16 +241,6 @@ mod-check:
241241
check-protos: clean-protos protos
242242
@git diff --exit-code -- $(PROTO_GOS)
243243

244-
web-pre:
245-
cd website && git submodule update --init --recursive
246-
./tools/website/web-pre.sh
247-
248-
web-build: web-pre
249-
cd website && HUGO_ENV=production hugo --config config.toml --minify -v
250-
251-
web-deploy:
252-
./tools/website/web-deploy.sh
253-
254244
modernize:
255245
GOTOOLCHAIN=auto go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@v0.21.0 -fix ./...
256246

0 commit comments

Comments
 (0)