Moved to Gitlab Pages

This commit is contained in:
mathias 2019-02-24 01:57:41 +02:00
parent b00e763dae
commit 21fd10e99e
4 changed files with 12 additions and 37 deletions

11
.gitlab-ci.yml Normal file
View file

@ -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

View file

@ -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

View file

@ -10,6 +10,7 @@ layout: minify
</title> </title>
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="{{ site.url }}">
<link rel="manifest" href="/site.webmanifest"> <link rel="manifest" href="/site.webmanifest">
<style> <style>
{% capture style %} {% capture style %}

View file

@ -1,12 +0,0 @@
https://kaboom.netlify.com/* https://kaboom.pw/:splat 301!
http://flame.ga/* https://kaboom.pw/:splat 301!
http://www.flame.ga/* https://kaboom.pw/:splat 301!
https://flame.ga/* https://kaboom.pw/:splat 301!
https://www.flame.ga/* https://kaboom.pw/:splat 301!
http://kaboom.pw/* https://kaboom.pw/:splat 301!
http://www.kaboom.pw/* https://kaboom.pw/:splat 301!
https://www.kaboom.pw/* https://kaboom.pw/:splat 301!
https://kaboom.pw/* /index 404