diff --git a/.drone.yml b/.drone.yml index 36cd86d..df1a262 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,8 @@ steps: commands: - echo "Trigger from branch" - apk add --no-cache openssh-client ca-certificates bash rsync git + - git submodule init + - git submodule update - git clone https://git.opytex.org/lafrite/2019-2020.git content - pip install --no-cache-dir -r requirements.txt - pelican ./content/ -o output -s publishconf.py --relative-urls diff --git a/pelican-plugins b/pelican-plugins index 5c5f965..f8394e3 160000 --- a/pelican-plugins +++ b/pelican-plugins @@ -1 +1 @@ -Subproject commit 5c5f965c984d9cb9324c1c7b251d448992c4bda5 +Subproject commit f8394e39df71f697c6879ef88e16f4d6d4bce614 diff --git a/publishconf.py b/publishconf.py index c9194ce..1d89640 100644 --- a/publishconf.py +++ b/publishconf.py @@ -11,7 +11,7 @@ sys.path.append(os.curdir) from pelicanconf import * # If your site is available via HTTPS, make sure SITEURL begins with https:// -SITEURL = 'https://opytex.org/enseignements/2019-2020/' +SITEURL = 'https://raw.opytex.org/enseignements/2019-2020/' RELATIVE_URLS = False FEED_ALL_ATOM = 'feeds/all.atom.xml' diff --git a/requirements.txt b/requirements.txt index c019a5b..7a663e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,15 @@ +beautifulsoup4==4.9.1 blinker==1.4 -docutils==0.13.1 -feedgenerator==1.9 -Jinja2==2.9.6 +bs4==0.0.1 +docutils==0.16 +feedgenerator==1.9.1 +Jinja2==2.11.2 MarkupSafe==1.1.1 -pelican==3.7.1 -Pygments==2.2.0 -python-dateutil==2.6.0 -pytz==2017.2 -six==1.10.0 -Unidecode==0.4.20 +pelican==4.2.0 +Pygments==2.6.1 +python-dateutil==2.8.1 +pytz==2020.1 +six==1.15.0 +soupsieve==2.0.1 +Unidecode==1.1.1 +Wand==0.6.1