mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-18 02:22:31 +00:00
🔨 Update live setup for PyConFr 23
This commit is contained in:
parent
a6e8e48f56
commit
331d5b495d
|
@ -6,7 +6,6 @@ publish:
|
|||
- devel
|
||||
script:
|
||||
- pip install -r requirements.txt
|
||||
- pelican -s pubconf-live_pyconfr.py --fatal warnings
|
||||
- pelican -s pubconf-production.py --fatal warnings
|
||||
|
||||
pages:
|
||||
|
@ -18,7 +17,7 @@ pages:
|
|||
- date --utc +%H:%M > theme-uberspot/templates/time
|
||||
- date --utc +%d/%m/%Y > theme-uberspot/templates/date
|
||||
- echo $CI_COMMIT_SHORT_SHA > theme-uberspot/templates/commit
|
||||
- pelican -s "pubconf-${CI_COMMIT_REF_NAME}.py" --fatal warnings
|
||||
- pelican -s "pubconf-production.py" --fatal warnings
|
||||
artifacts:
|
||||
when: on_success
|
||||
paths:
|
||||
|
|
|
@ -73,7 +73,7 @@ YEAR_ARCHIVE_SAVE_AS = 'articles/{date:%Y}/index.html'
|
|||
YEAR_ARCHIVE_URL = 'articles/{date:%Y}/'
|
||||
|
||||
# URL of the repo to link build commit
|
||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/commit'
|
||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/free_zed.gitlab.io/commit'
|
||||
|
||||
# Max number of tags displayed in achives
|
||||
# Used in template `taglist_sort.html`
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# This file is only used if you use `make publish` or
|
||||
# explicitly specify it as your config file.
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.curdir)
|
||||
from pelicanconf import *
|
||||
|
||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||
SITEURL = 'http://free_zed.gitlab.io/mypelican'
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
|
||||
LINKS = (('Archives', '/mypelican/articles/'),
|
||||
('Tags', '/mypelican/tags/'),
|
||||
('Mentions légales', '/mypelican/pages/mentions-legales/'),)
|
||||
|
||||
# URL of the repo to link build commit
|
||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/mypelican/commit'
|
|
@ -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 = 'http://pro.zind.fr/live-pyconfr'
|
||||
SITEURL = 'http://pro.zind.fr'
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# This file is only used if you use `make publish` or
|
||||
|
@ -14,6 +14,3 @@ from pelicanconf import *
|
|||
SITEURL = 'http://pro.zind.fr'
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
|
||||
# URL of the repo to link build commit
|
||||
REPO_COMMIT_URL = 'https://gitlab.com/free_zed/free_zed.gitlab.io/commit'
|
||||
|
|
Loading…
Reference in New Issue
Block a user