Makefile : add make prod
This commit is contained in:
parent
ba1a2aa817
commit
47d742087d
3
Makefile
3
Makefile
@ -71,5 +71,8 @@ devserver-global:
|
|||||||
publish:
|
publish:
|
||||||
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) && cd theme && make
|
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) && cd theme && make
|
||||||
|
|
||||||
|
prod:
|
||||||
|
ssh www-git@www.freepinc.dev "cd m34f.ptrs.top && make publish"
|
||||||
|
|
||||||
|
|
||||||
.PHONY: html help clean regenerate serve serve-global devserver devserver-global publish
|
.PHONY: html help clean regenerate serve serve-global devserver devserver-global publish
|
||||||
|
@ -57,12 +57,12 @@ DISPLAY_PAGES_ON_MENU = True
|
|||||||
|
|
||||||
I18N_SUBSITES = {
|
I18N_SUBSITES = {
|
||||||
'fr': {
|
'fr': {
|
||||||
'SITEURL': 'http://127.0.0.1:8000/fr/',
|
'SITEURL': SITEURL + '/fr/',
|
||||||
'LOCALE': 'fr_FR.UTF-8',
|
'LOCALE': 'fr_FR.UTF-8',
|
||||||
'THEME_STATIC_DIR': '../theme',
|
'THEME_STATIC_DIR': '../theme',
|
||||||
},
|
},
|
||||||
'en': {
|
'en': {
|
||||||
'SITEURL': 'http://127.0.0.1:8000/en/',
|
'SITEURL': SITEURL + '/en/',
|
||||||
'LOCALE': 'en_US.UTF-8',
|
'LOCALE': 'en_US.UTF-8',
|
||||||
'THEME_STATIC_DIR': '../theme',
|
'THEME_STATIC_DIR': '../theme',
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ sys.path.append(os.curdir)
|
|||||||
from pelicanconf import *
|
from pelicanconf import *
|
||||||
|
|
||||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||||
SITEURL = ""
|
SITEURL = "https://m34f.ptrs.top"
|
||||||
RELATIVE_URLS = False
|
RELATIVE_URLS = False
|
||||||
|
|
||||||
FEED_ALL_ATOM = "feeds/all.atom.xml"
|
FEED_ALL_ATOM = "feeds/all.atom.xml"
|
||||||
@ -19,4 +19,4 @@ DELETE_OUTPUT_DIRECTORY = True
|
|||||||
# Following items are often useful when publishing
|
# Following items are often useful when publishing
|
||||||
|
|
||||||
# DISQUS_SITENAME = ""
|
# DISQUS_SITENAME = ""
|
||||||
# GOOGLE_ANALYTICS = ""
|
# GOOGLE_ANALYTICS = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user