Skip to content
Snippets Groups Projects
Verified Commit eb73611b authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

.gitlab-ci.yml

parent 6584b8d1
No related branches found
No related tags found
No related merge requests found
Pipeline #
generator
static
build
all:
only:
- master
script:
- node --version
- rm -rf build
- if [ -f generator ] ; then cd generator; git pull; cd ..; else git clone git@git.ok1kvk.cz:ok1kvk.cz/generator.git; fi
- if [ -f static ] ; then cd static; git pull; cd ..; else git clone git@git.ok1kvk.cz:ok1kvk.cz/static.git; fi
- cd generator/; npm install; cd ..
- node generator/index.js --contentdir . --staticdir static --themedir generator/theme --builddir build --noserver
- generator/upload
cache:
paths:
- generator/
- static/
# Needs following env var: LFTP_PASSWORD
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