Skip to content
Snippets Groups Projects
Verified Commit d9af880a authored by Renato Alves's avatar Renato Alves :seedling:
Browse files

Build website to public folder

parent d1e73e22
No related branches found
No related tags found
No related merge requests found
Pipeline #40304 failed
......@@ -2,8 +2,9 @@ image: python:3.8-alpine
pages:
stage: deploy
script:
before_script:
- apk add --update --no-cache py3-cheetah
script:
- sh make.sh
artifacts:
paths:
......
......@@ -6,7 +6,7 @@
export PYTHONPATH=$(pwd)/src
# Compile template files into html
cheetah fill --nobackup --idir src --odir build -R
cheetah fill --nobackup --idir src --odir public -R
# Copy media (images, css) to the build directory
cp -a media build
# Remove base and helper files
......
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