Radish alpha
r
rad:z371PVmDHdjJucejRoRYJcDEvD5pp
Radicle website including documentation and guides
Radicle
Git
make: Parameterize by top-level-domain
Lorenz Leutgeb committed 5 months ago
commit 464ad1eb9443847d6b582288fcfba00b0fbc83cd
parent e37e8f1
4 files changed +9 -5
modified Makefile
@@ -1,8 +1,11 @@
+
TLD ?= dev
+
CONFIG = --config _config.yml,_config.$(TLD).yml
+

default:
-
	bundle exec jekyll build
+
	bundle exec jekyll build $(CONFIG)

serve:
-
	bundle exec jekyll serve --port 3000 --livereload
+
	bundle exec jekyll serve $(CONFIG) --port 3000 --livereload

dependencies:
	gem install jekyll
@@ -11,12 +14,12 @@ cloudflare:
	sudo gem install bundler
	bundle config path vendor/bundle
	bundle install
-
	bundle exec jekyll build
+
	bundle exec jekyll build $(CONFIG)

svgs:
	scripts/cleanup-svgs.sh assets/images/*.svg

publish: default
-
	wrangler deploy
+
	wrangler deploy --name="website-$(TLD)"

.PHONY: default publish
added _config.dev.yml
@@ -0,0 +1 @@
+
url: "https://radicle.dev"
added _config.xyz.yml
@@ -0,0 +1 @@
+
url: "https://radicle.xyz"
modified _config.yml
@@ -1,4 +1,3 @@
-
url: "https://radicle.xyz"
baseurl: "/"

plugins: