Skip to content
Snippets Groups Projects
Verified Commit aa5739df authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Deploy to teckids.edugit.io

parent 818ba16c
No related branches found
No related tags found
No related merge requests found
...@@ -50,3 +50,4 @@ DEADJOE ...@@ -50,3 +50,4 @@ DEADJOE
# Pelican output # Pelican output
output/ output/
public/
image: python:3.8-buster
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
stage: deploy
before_script:
- pip install Markdown gitpython pelican py_w3c beautifulsoup4
script:
- make publish
artifacts:
paths:
- public/
only:
- master
...@@ -4,7 +4,7 @@ PELICANOPTS= ...@@ -4,7 +4,7 @@ PELICANOPTS=
BASEDIR=$(CURDIR) BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/output OUTPUTDIR=$(BASEDIR)/public
CONFFILE=$(BASEDIR)/pelicanconf.py CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py
......
...@@ -22,4 +22,4 @@ DELETE_OUTPUT_DIRECTORY = True ...@@ -22,4 +22,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 = ""
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment