Mateusz PstruchaandClaude Opus 5.5 076845d0ea Site content and deployment for ig.mtps.pl
Builds mtps/folio at a pinned tag against this repo's photos/ and
profile/ and deploys the release with ygg/static-server, taking over the
stack that was released from mtps/folio.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 22:45:46 +02:00

ig.mtps.pl

The photos at ig.mtps.pl. This repo is only content and deployment; the site itself is folio.

Adding a photo

  1. Export it to photos/<slug>.jpg, about 2048px on the long edge, cropped however you like. The slug becomes the URL, /p/<slug>; starting it with the date (2026-10-12-tatry) keeps the folder sorted.
  2. Optionally add photos/<slug>.yml with a description, alt, taken or location. The format is in folio's README.
  3. Commit, then release: git tag v1.2.3 && git push --follow-tags.

The name, bio, link and avatar are in profile/.

Preview

cd ../folio && pnpm install && FOLIO_CONTENT=../ig.mtps.pl pnpm dev

Release and deploy

Pushing a v* tag runs .gitea/workflows/release.yml:

  1. It builds folio at FOLIO_REF (set in the workflow) against this repo's content, checks that no published image has EXIF location or time, and attaches ig.mtps.pl-<version>.tgz to a Gitea release.
  2. ygg/actions/deploy@v2 (SSH to kara, Ansible deploy/static) then runs static-server for that release on port 11904, behind ig.mtps.pl.

To pick up folio changes, bump FOLIO_REF and tag a new release.

S
Description
Photos at ig.mtps.pl, built with mtps/folio
Readme
13 MiB
0 Stars 0 Watchers 0 Forks
v0.2.0
Latest
2026-10-20 16:03:40 +02:00