diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a08db1..950d4a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,7 @@ build: stage: build tags: ["build"] script: + - export THEME_REPO_URL='https://github.com/russellballestrini/pelican-svbhack.git' - make venv - export THEME='pelican-themes/pelican-svbhack' - export SITEURL='https://russell.ballestrini.net' diff --git a/Makefile b/Makefile index 8b098b7..0bb1d02 100644 --- a/Makefile +++ b/Makefile @@ -18,11 +18,13 @@ help: @echo ' make devserver serve and regenerate together ' @echo ' ' +THEME_REPO_URL ?= git@github.com:russellballestrini/pelican-svbhack.git + venv: python3 -m venv venv venv/bin/pip install -r requirements.txt mkdir -p pelican-themes - cd pelican-themes && git clone git@github.com:russellballestrini/pelican-svbhack.git + cd pelican-themes && git clone $(THEME_REPO_URL) venv/bin/pelican-themes -i pelican-themes/pelican-svbhack/ resume: