Skip to content

Commit 817fff8

Browse files
authored
Remove /redirects.rb (#3305)
Will restore when Prod uses Netlify
1 parent fe10be9 commit 817fff8

File tree

4 files changed

+3
-82
lines changed

4 files changed

+3
-82
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ Session.vim
2424
tags
2525

2626
kubernetes.github.io.iml
27-
_redirects

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all build build-preview generate-redirects help serve
1+
.PHONY: all build build-preview help serve
22

33
help: ## Show this help.
44
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
@@ -11,8 +11,5 @@ build: ## Build site with production settings and put deliverables in _site.
1111
build-preview: ## Build site with drafts and future posts enabled.
1212
jekyll build --drafts --future
1313

14-
generate-redirects: ## Generate a redirects file and copy it into the _site directory.
15-
mkdir -p _site && REDIRECTS_PATH=_site/_redirects ruby redirects.rb
16-
1714
serve: ## Boot the development server.
1815
jekyll serve

netlify.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build]
2-
command = "make build generate-redirects"
2+
command = "make build"
33
publish = "_site"
44

55
[context.deploy-preview]
6-
command = "make build-preview generate-redirects"
6+
command = "make build-preview"

redirects.rb

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

0 commit comments

Comments
 (0)