From 21fd10e99e5e0656a008b1b715fe46b9c7fd76b1 Mon Sep 17 00:00:00 2001 From: mathias Date: Sun, 24 Feb 2019 01:57:41 +0200 Subject: [PATCH] Moved to Gitlab Pages --- .gitlab-ci.yml | 11 +++++++++++ _headers | 25 ------------------------- _layouts/main.html | 1 + _redirects | 12 ------------ 4 files changed, 12 insertions(+), 37 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 _headers delete mode 100644 _redirects diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..12f5752 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +image: ruby:latest + +pages: + script: + - bundle install + - bundle exec jekyll build -d public + - cp public/index.html public/404.html + - git clone https://github.com/google/zopfli.git && cd zopfli && gcc src/zopfli/*.c -O2 -W -Wall -Wextra -Wno-unused-function -ansi -pedantic -lm -o zopfli && ./zopfli $(find ../public -type f) + artifacts: + paths: + - public diff --git a/_headers b/_headers deleted file mode 100644 index da38eec..0000000 --- a/_headers +++ /dev/null @@ -1,25 +0,0 @@ -/ - Content-Security-Policy: default-src 'none'; font-src data:; img-src data: 'self'; manifest-src 'self'; style-src 'unsafe-inline'; upgrade-insecure-requests - Feature-Policy: accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; camera 'none'; encrypted-media 'none'; fullscreen 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; speaker 'none'; sync-xhr 'none'; usb 'none'; vr 'none' - X-Frame-Options: DENY - X-Xss-Protection: 1; mode=block - -/* - Referrer-Policy: no-referrer - Strict-Transport-Security: max-age=63072000; includeSubdomains; preload - X-Content-Type-Options: nosniff - -/*.ico - Content-Type: image/x-icon - -/*.png - Content-Type: image/png; charset=utf-8 - -/*.svg - Content-Type: image/svg+xml; charset=utf-8 - -/*.webmanifest - Content-Type: application/manifest+json; charset=utf-8 - -/*.xml - Content-Type: text/xml; charset=utf-8 diff --git a/_layouts/main.html b/_layouts/main.html index 717e786..8e8fc04 100644 --- a/_layouts/main.html +++ b/_layouts/main.html @@ -10,6 +10,7 @@ layout: minify +