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 ...@@ -2,8 +2,9 @@ image: python:3.8-alpine
pages: pages:
stage: deploy stage: deploy
script: before_script:
- apk add --update --no-cache py3-cheetah - apk add --update --no-cache py3-cheetah
script:
- sh make.sh - sh make.sh
artifacts: artifacts:
paths: paths:
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
export PYTHONPATH=$(pwd)/src export PYTHONPATH=$(pwd)/src
# Compile template files into html # 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 # Copy media (images, css) to the build directory
cp -a media build cp -a media build
# Remove base and helper files # 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