From ec4eaf00391325b7123856253277a5cb5ac5bb09 Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Mon, 16 Aug 2021 22:39:41 +0200 Subject: [PATCH] Use packaged pelican theme --- .gitlab-ci.yml | 5 +++-- .gitmodules | 3 --- requirements.txt | 6 ++++++ themes/teckids | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 requirements.txt delete mode 160000 themes/teckids diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 154a85b..e714405 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,11 +2,12 @@ image: python:3.8-buster variables: GIT_SUBMODULE_STRATEGY: recursive + PIP_EXTRA_INDEX_URL: https://edugit.org/api/v4/projects/257/packages/pypi/simple pages: stage: deploy before_script: - - pip install Markdown gitpython pelican py_w3c beautifulsoup4 + - pip install -r requirements.txt script: - make publish environment: @@ -20,7 +21,7 @@ pages: pages_staging: stage: test before_script: - - pip install Markdown gitpython pelican py_w3c beautifulsoup4 + - pip install -r requirements.txt script: - make publish environment: diff --git a/.gitmodules b/.gitmodules index ae1cfb9..e357094 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ [submodule "plugins"] path = plugins url = https://github.com/getpelican/pelican-plugins -[submodule "themes/teckids"] - path = themes/teckids - url = https://edugit.org/Teckids/team-pr/pelican-theme-teckids diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fccc4a1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +pelican +Markdown +gitpython +py_w3c +beautifulsoup4 +pelican-theme-teckids diff --git a/themes/teckids b/themes/teckids deleted file mode 160000 index 32ff535..0000000 --- a/themes/teckids +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 32ff535ccce0b353f7e35e86be22c263932c0224 -- GitLab