diff --git a/Makefile b/Makefile index cf5534d..c9e3aa7 100644 --- a/Makefile +++ b/Makefile @@ -71,5 +71,8 @@ devserver-global: publish: "$(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 diff --git a/pelicanconf.py b/pelicanconf.py index a2b6359..bbb3775 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -57,12 +57,12 @@ DISPLAY_PAGES_ON_MENU = True I18N_SUBSITES = { 'fr': { - 'SITEURL': 'http://127.0.0.1:8000/fr/', + 'SITEURL': SITEURL + '/fr/', 'LOCALE': 'fr_FR.UTF-8', 'THEME_STATIC_DIR': '../theme', }, 'en': { - 'SITEURL': 'http://127.0.0.1:8000/en/', + 'SITEURL': SITEURL + '/en/', 'LOCALE': 'en_US.UTF-8', 'THEME_STATIC_DIR': '../theme', } diff --git a/publishconf.py b/publishconf.py index 16a0503..1a924fc 100644 --- a/publishconf.py +++ b/publishconf.py @@ -8,7 +8,7 @@ sys.path.append(os.curdir) from pelicanconf import * # If your site is available via HTTPS, make sure SITEURL begins with https:// -SITEURL = "" +SITEURL = "https://m34f.ptrs.top" RELATIVE_URLS = False FEED_ALL_ATOM = "feeds/all.atom.xml" @@ -19,4 +19,4 @@ DELETE_OUTPUT_DIRECTORY = True # Following items are often useful when publishing # DISQUS_SITENAME = "" -# GOOGLE_ANALYTICS = "" \ No newline at end of file +# GOOGLE_ANALYTICS = ""