Compare commits

...

6 Commits

Author SHA1 Message Date
4f6e53aa14 feat: Implement rio's new rio.json
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-02-03 17:01:24 +01:00
b6dea7dc55 Revert "test: Add self-hosted Plausible"
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This reverts commit e06e562568.
2024-02-02 20:26:07 +01:00
e06e562568 test: Add self-hosted Plausible
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-02-02 19:37:11 +01:00
614793eab2 feat: Add WKD policy
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-14 22:00:48 +01:00
ee72e087a6 fix: Add missing CNAME file
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-14 18:17:34 +01:00
942f3ab64e feat: Switch to an SSH deployment method
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-01-11 13:20:21 +01:00
5 changed files with 16 additions and 4 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@ public/
# Generated using tailwindcss
static/css/index.css
# Zola build output
public/

View File

@@ -7,10 +7,10 @@ steps:
- npx tailwindcss -i input.css -o static/css/index.css --minify
- zola build
deploy:
image: git.polynom.me/papatutuwawa/woodpecker-ssg-deploy@sha256:c7e2e8ad5d096ca6a628ffbbfa1026dce21784305f6069985d830c4167abcbda
secrets: [ git_push_token ]
image: git.polynom.me/papatutuwawa/woodpecker-ssg-deploy@sha256:9cfec13eb8ab1b8920c2f1f00f0258a7bfd159fe4e14e0985328086392c0da34
secrets: [ ssh_key ]
settings:
email: "ci@polynom.me"
name: "polynom.me CI system"
token_env: "GIT_PUSH_TOKEN"
token_env: "SSH_KEY"
output: "public"

View File

1
static/CNAME Normal file
View File

@@ -0,0 +1 @@
polynom.me

8
static/rio.json Normal file
View File

@@ -0,0 +1,8 @@
{
"CNAME": "polynom.me",
"headers": {
"Content-Security-Policy": "default-src 'self'; script-src 'self'; script-src-elem 'self'; script-src-attr 'none'; style-src * 'self'; img-src 'self' data:; font-src 'self'; connect-src 'none'; media-src 'self'; object-src 'none'; prefetch-src 'none'; child-src 'none'; frame-src 'none'; worker-src 'none'; frame-ancestors 'none'; form-action 'none'; upgrade-insecure-requests; block-all-mixed-content; disown-opener; sandbox; base-uri https://polynom.me; manifest-src 'none'",
"X-Frame-Options": "DENY",
"Referrer-Policy": "no-referrer, strict-origin-when-cross-origin"
}
}