No description
  • SCSS 50.3%
  • Shell 28.6%
  • HTML 18.4%
  • Ruby 2.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dennisppaul 572245acdf
Some checks failed
deploy / deploy (push) Has been cancelled
add post
2026-08-05 15:21:38 +02:00
.forgejo/workflows add deploy hook 2026-08-05 14:54:30 +02:00
_includes add posts 2026-07-31 10:58:51 +02:00
_layouts make 2 column layout, reduce image size 2026-08-03 21:06:15 +02:00
_posts add post 2026-08-05 15:21:38 +02:00
_sass add post, fix serve script not updating, fix jumpy css 2026-08-05 14:49:30 +02:00
assets add posts 2026-07-31 10:58:51 +02:00
.gitignore add post, fix serve script not updating, fix jumpy css 2026-08-05 14:49:30 +02:00
.ruby-version add website, add post 2026-07-30 23:27:35 +02:00
404.html add website, add post 2026-07-30 23:27:35 +02:00
_config.yml add posts, add agent post instructions 2026-08-03 20:54:52 +02:00
AGENTS.md add posts, add agent post instructions 2026-08-03 20:54:52 +02:00
apple-touch-icon-precomposed.png add website, add post 2026-07-30 23:27:35 +02:00
apple-touch-icon.png add website, add post 2026-07-30 23:27:35 +02:00
deploy.sh add deploy hook 2026-08-05 14:54:30 +02:00
favicon.ico add website, add post 2026-07-30 23:27:35 +02:00
Gemfile add website, add post 2026-07-30 23:27:35 +02:00
Gemfile.lock add website, add post 2026-07-30 23:27:35 +02:00
index.md minor change 2026-07-30 23:29:53 +02:00
privacy-policy.md add website, add post 2026-07-30 23:27:35 +02:00
README.md add deploy hook 2026-08-05 14:54:30 +02:00
relevant.md add posts 2026-07-31 10:58:51 +02:00
serve.sh add post, fix serve script not updating, fix jumpy css 2026-08-05 14:49:30 +02:00

Interesting

https://interesting.dennisppaul.de

local preview

./serve.sh              # http://127.0.0.1:4000, with livereload
./serve.sh 4001         # a different port

deploy

./deploy.sh -n          # dry run, changes nothing
./deploy.sh             # preview, then confirm
./deploy.sh -y          # no prompt

Target and ssh key live in deploy.conf, which is gitignored.

automatic deploy

.forgejo/workflows/deploy.yml runs the same ./deploy.sh -y on every push to main, and on demand from the Actions tab. Because deploy.conf is gitignored it configures the script through the environment instead, which needs three repository secrets (Settings → Actions → Secrets):

secret value
DEPLOY_SSH_KEY private key whose public half is in the server's authorized_keys
DEPLOY_KNOWN_HOSTS output of ssh-keyscan -p <port> <host>
DEPLOY_TARGET user@host:/abs/path — a real hostname, not the ionos-server ssh alias

Optional variable DEPLOY_URL overrides the post-deploy HTTP check.

writing

  • posts go in _posts/ as YYYY-MM-DD-title.md
  • images and other files go in assets/
  • pages are markdown files in the project root; list them under header_pages in _config.yml to show them in the nav
  • title, author, mail and url all come from _config.yml