~stfn/newbarn

c7a29db8f4578f8cf14a7fcb8a57fe957a6592c6 — Stefan 7 months ago 8c6897b
auto-updated after build
5 files changed, 18 insertions(+), 18 deletions(-)

M _layouts/default.html
M build.sh
D jekyll-build
D jekyll-run
D neocities-deploy
M _layouts/default.html => _layouts/default.html +13 -2
@@ 94,8 94,19 @@
                        <div class="widget">
                            <script type="text/javascript" src="https://www.cqc.org.uk/sites/all/modules/custom/cqc_widget/widget.js?data-id=1-533126912&amp;data-host=www.cqc.org.uk"></script>
                        </div>
                        <div class="widget hidden-xs hidden-sm">
                            <div class="fb-like-box" data-href="https://www.facebook.com/newbarnltd" data-height="300" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="false"></div>
                        <div class="widget">
                            <iframe
                                src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fnewbarnltd%2F&show_posts=true&width=285&height=800&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true"
                            width="100%"
                            height="800"
                            style="
                                border:none;
                                overflow:hidden
                            "
                            scrolling="no"
                            frameborder="0"
                            allowfullscreen="true"
                            allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
                        </div>
                    </div>
                </div>

M build.sh => build.sh +5 -1
@@ 8,8 8,12 @@ bundle exec jekyll build
html-minifier --input-dir _site --output-dir _site --file-ext html --collapse-whitespace --minify-css --remove-comments --remove-attribute-quotes --remove-redundant-attributes

set +x
export NEOCITIES_API_KEY=$(cat /home/$1/.neocities/newbarn)
export NEOCITIES_API_KEY=$(cat /home/user/.neocities/newbarn)
set -x

gem install --no-document neocities
neocities push --prune _site

git add .
git commit -m "auto-updated after build"
git push
\ No newline at end of file

D jekyll-build => jekyll-build +0 -5
@@ 1,5 0,0 @@
#!/bin/bash
bundle config jobs 4
bundle install
JEKYLL_ENV=production bundle exec jekyll build


D jekyll-run => jekyll-run +0 -4
@@ 1,4 0,0 @@
#!/bin/bash
bundle config set --local path 'vendor/bundle'
bundle install
bundle exec jekyll serve

D neocities-deploy => neocities-deploy +0 -6
@@ 1,6 0,0 @@
#!/bin/bash
set +x
export NEOCITIES_API_KEY=$(cat ~/.neocities/$1)
set -x
neocities push --prune $2