Commit 28b4a0c6 authored by Marvin Thäns's avatar Marvin Thäns
Browse files

rework dockerize

parent f1742885
Pipeline #20008 passed with stage
in 13 minutes and 52 seconds
#!/usr/bin/env bash
# Copy prebuild files from build container
bash ../scripts/copyPrebuild
bundle
bundle update
jekyll build
......@@ -2,9 +2,9 @@
# Copy prebuild files from build container
mkdir _sass
mkdir -p assets/css/fonts
cp -r ../_sass/slick-carousel _sass/slick-carousel
cp -r ../assets/css/fonts/ assets/css/fonts/
cp ../assets/css/fonts/slick.woff assets/css/fonts/slick.woff
cp ../assets/css/fonts/slick.ttf assets/css/fonts/slick.ttf
cp ../assets/css/ajax-loader.gif assets/css/ajax-loader.gif
cp ../assets/bundle.js assets/bundle.js
\ No newline at end of file
cp -r $1/_sass/slick-carousel _sass/slick-carousel
cp -r $1/assets/css/fonts/ assets/css/fonts/
cp $1/assets/css/fonts/slick.woff assets/css/fonts/slick.woff
cp $1/assets/css/fonts/slick.ttf assets/css/fonts/slick.ttf
cp $1/assets/css/ajax-loader.gif assets/css/ajax-loader.gif
cp $1/assets/bundle.js assets/bundle.js
\ No newline at end of file
#!/usr/bin/env bash
# Copy prebuild files from build container
bash ../scripts/copyPrebuild
# Build
bundle
bundle update
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment