From f6be5fab4027966267e6822c92857d2be49266ff Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Mon, 16 Aug 2021 22:40:39 +0200 Subject: [PATCH] Use packaged pelican theme --- .gitlab-ci.yml | 3 ++- .gitmodules | 3 --- requirements.txt | 6 ++++++ themes/teckids | 1 - 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 requirements.txt delete mode 160000 themes/teckids diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32ae5b9..217d6ce 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 artifacts: diff --git a/.gitmodules b/.gitmodules index 86b103d..e357094 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "themes/teckids"] - path = themes/teckids - url = https://edugit.org/Teckids/team-pr/pelican-theme-teckids [submodule "plugins"] path = plugins url = https://github.com/getpelican/pelican-plugins 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