Finish bunny migration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Val Packett 2024-11-12 01:09:45 -03:00
parent 4cbf544099
commit 37ceda1d0c
4 changed files with 4 additions and 98 deletions

View file

@ -6,10 +6,11 @@ steps:
- name: build
image: denoland/deno:alpine
commands:
- deno task build
- deno task build --location=https://val.packett.cool/
- name: push
image: alpine/curl
secrets:
- BUNNY_BUCKET
- BUNNY_KEY
commands:
- sh bunny.sh

View file

@ -2,7 +2,7 @@
set -e
cd _site
find * -type f -exec curl --fail --request PUT \
--url https://storage.bunnycdn.com/val-packett-cool/{} \
--url https://storage.bunnycdn.com/$BUNNY_BUCKET/{} \
--header "AccessKey: $BUNNY_KEY" \
--header "Content-Type: application/octet-stream" \
--data-binary @{} \;

View file

@ -12,7 +12,7 @@ They also drew my profile picture :)
## Hosting
This website is currently hosted by [Netlify](https://www.netlify.com/).
This website is currently hosted by [Bunny.net](https://bunny.net?ref=sqbajor5vc).
I use [Njalla](https://njal.la/) for actually private domain registration
and [Migadu](https://www.migadu.com/) for email.

View file

@ -1,95 +0,0 @@
[build]
publish = "_site"
command = "deno task build --location=https://val.packett.cool/"
[[headers]]
for = "/*"
[headers.values]
strict-transport-security = "max-age=31536000"
x-content-type-options = "nosniff"
x-frame-options = "SAMEORIGIN"
permissions-policy = "sync-xhr=(), accelerometer=(), camera=(), geolocation=(), microphone=(), usb=()"
content-security-policy = "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: img.shields.io; script-src 'none'; object-src 'none'"
link = "</x/RecVar1085.woff2>; rel=preload; as=font; type=font/woff2; crossorigin"
[[headers]]
for = "/"
values = { link = "</x/RecVar1085.woff2>; rel=preload; as=font; type=font/woff2; crossorigin, <https://img.shields.io/>; rel=preconnect" }
[[headers]]
for = "/x/*"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.jpg"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.png"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.webp"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.avif"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.jxl"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.svg"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*.pdf"
values = { cache-control = "public, max-age=31536000, immutable" }
[[headers]]
for = "*/.well-known/webfinger*"
[headers.values]
content-type = "application/jrd+json"
access-control-allow-origin = "*"
access-control-allow-methods = "GET,HEAD,OPTIONS"
access-control-allow-headers = "content-type"
[[headers]]
for = "/.well-known/aspe/id/DV7YKMH5QMHF5ZVU5UUSIXXXMI"
[headers.values]
content-type = "application/asp+jwt; charset=utf-8"
aspe-uri = "aspe:val.packett.cool:DV7YKMH5QMHF5ZVU5UUSIXXXMI"
access-control-allow-origin = "*"
access-control-allow-methods = "GET,HEAD,OPTIONS"
access-control-allow-headers = "content-type,aspe-uri"
[[redirects]]
from = "https://packett.cool/.well-known/webfinger?resource=acct%3Aval%40packett.cool"
to = "/webfinger.json"
status = 200
force = true
[[redirects]]
from = "/.well-known/aspe/id/DV7YKMH5QMHF5ZVU5UUSIXXXMI"
to = "/asp.jws"
status = 200
force = true
[[redirects]]
from = "https://www.packett.cool/*"
to = "https://val.packett.cool/:splat"
status = 301
force = true
[[redirects]]
from = "https://packett.cool/*"
to = "https://val.packett.cool/:splat"
status = 301
force = true
[[redirects]]
from = "/mf2"
to = "https://mf2.packett.cool/"
status = 301