6 Commits
Author SHA1 Message Date
mtps 9f9f427ace Merge pull request 'Publish straight to the bucket' (#1) from claude/static-publish into main 2026-11-09 13:07:40 +01:00
Mateusz PstruchaandClaude Opus 5.5 036b4bbc08 🚀 publish straight to the bucket
The release builds and uploads with ygg/actions/static-publish, instead of
deploying static-server through kara.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:13:04 +01:00
mtpsandClaude Opus 5.5 79c2b69b92 Build with folio v0.4.0
Release / release (push) Successful in 3m39s
Release / deploy (push) Successful in 14s
Waves page background with dark mode, no avatar ring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 13:53:50 +00:00
mtpsandClaude Opus 5.5 8ef807cc2e Real photos, profile and avatar
41 photos from the Immich share, re-encoded at a 2048px long edge
with all metadata stripped (no EXIF, XMP or ICC), so no GPS goes
into this public repo. Each <date>.yml keeps only `taken`, the local
time from EXIF, or for files without one the Immich time in
Europe/Warsaw (the 2018-05-05 PNG from its filename).

Bio is a placeholder for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 13:47:56 +00:00
mtps 467ea1669b Revert "Add mock photos and avatar"
This reverts commit b93b3a38b3.
2026-10-20 13:41:03 +00:00
mtpsandClaude Opus 5.5 d6ae73c93c Build with folio v0.3.0
Site URL no longer hardcoded in folio, @mtps/waves ring around the
avatar, avatar round again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 13:30:31 +00:00
103 changed files with 55 additions and 84 deletions

No files matched your search

+10 -24
View File
@@ -1,20 +1,18 @@
name: Release
# v1.2.3 -> build folio@FOLIO_REF against this repo's photos/ and profile/,
# release ig.mtps.pl-1.2.3.tgz, deploy/static.yml (ig.mtps.pl)
# release ig.mtps.pl-1.2.3.tgz, publish to ig.mtps.pl
on:
push:
tags: ['v*']
env:
# folio version the site is built with, bump to pick up app changes
FOLIO_REF: v0.2.0
FOLIO_REF: v0.4.0
jobs:
release:
runs-on: rocky-10
outputs:
version: ${{ steps.meta.outputs.version }}
steps:
- name: Check out content
uses: actions/checkout@v4
@@ -84,24 +82,12 @@ jobs:
${{ gitea.event.repository.name }}-*.tgz
${{ gitea.event.repository.name }}-*.tgz.sha256
# static-server on kara downloads the release asset, so this runs after it
deploy:
needs: release
runs-on: rocky-10
# never run two deploys at once
concurrency:
group: deploy-${{ gitea.repository }}
cancel-in-progress: false
steps:
- name: Check out source
uses: actions/checkout@v4
- name: Deploy
uses: https://git.app.ygg/ygg/actions/deploy@v2
# Straight to the bucket, with a key that only reaches it. The bucket and
# the nginx site come from deployments/ig-mtps-pl.yml in ygg/deployments.
- name: Publish
uses: https://git.app.ygg/ygg/actions/static-publish@v2
with:
type: static
dist-path: deploy/static.yml
extra-vars: |
static_release=${{ needs.release.outputs.version }}
ssh-key: ${{ secrets.DEPLOY_SSH_KEY }}
known-hosts: ${{ vars.DEPLOY_KNOWN_HOSTS }}
path: folio/dist
bucket: ig.mtps.pl
access-key-id: ${{ secrets.STATIC_ACCESS_KEY_ID }}
secret-access-key: ${{ secrets.STATIC_SECRET_ACCESS_KEY }}
+1 -1
View File
@@ -21,6 +21,6 @@ cd ../folio && pnpm install && FOLIO_CONTENT=../ig.mtps.pl pnpm dev
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.
2. `ygg/actions/static-publish@v2` uploads the same build straight to the `ig.mtps.pl` bucket.
To pick up folio changes, bump `FOLIO_REF` and tag a new release.
-38
View File
@@ -1,38 +0,0 @@
---
# Static site: https://git.app.ygg/mtps/ig.mtps.pl, built with mtps/folio
#
# Deployed by .gitea/workflows/release.yml through ygg/actions/deploy
# (deploy/static playbook on kara).
#
# static_release is passed by the release workflow (-e static_release=1.2.3).
# For a manual run pass it the same way, there's deliberately no default here.
# Release assets are versioned (ig.mtps.pl-<version>.tgz), and static-server
# only auto-detects *.tar.gz, so the asset is named explicitly.
# kept from when the site was released from mtps/folio, so deploys update
# that stack instead of starting a second one on the same port
static_stack_name: folio
domain: ig.mtps.pl
# /etc/nginx/certs/<cert>.conf on the nginx host
cert: mtps.pl
# static_service replaces the role default as a whole, so every key is required
static_service:
name: static
image: "{{ gitea_host }}/ygg/static-server:latest"
environment:
GITEA_REPOSITORY_URL: "https://{{ gitea_host }}/mtps/ig.mtps.pl"
GITEA_RELEASE: "v{{ static_release }}"
GITEA_ASSET_NAME: "ig.mtps.pl-{{ static_release }}.tgz"
SSL_CERT_FILE: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
volumes:
- /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem:ro
ports:
- target: 8080
published: 11904
protocol: tcp
mode: ingress
replicas: 3
restart_policy:
condition: on-failure
Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-05-05T20:01
Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-06-25T19:29
Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-07-01T19:14
Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-07-09T18:17
Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-07-09T18:10
Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2018-07-13T21:05
Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2019-06-04T21:09
Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2019-06-10T21:01
Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2019-08-02T15:19
Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-06-01T18:21
Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-06-01T19:36
Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-06-01T19:40
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-06-01T19:45
Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-06-01T18:20
Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-10-12T18:59
Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-10-15T08:01
Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-10-25T15:13
Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-10-25T15:13
Binary file not shown.

After

Width:  |  Height:  |  Size: 446 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-11-15T16:29
Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2020-12-20T18:05
Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-01-16T12:16
Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-01-16T11:42
Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-05-09T19:14
Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-06-17T09:14
Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-08-24T21:42
Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-10-10T21:57
Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2021-10-21T07:47
Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2022-02-12T18:52
Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2022-02-12T18:30
Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2022-02-13T18:36
Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2022-10-16T21:44
Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2022-10-16T16:45
Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2023-04-10T14:31
Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2023-04-10T14:30
Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2024-08-11T05:40
Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2024-09-25T15:20
Binary file not shown.

After

Width:  |  Height:  |  Size: 889 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2025-09-20T18:15
Binary file not shown.

After

Width:  |  Height:  |  Size: 815 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2026-07-07T20:19
Binary file not shown.

After

Width:  |  Height:  |  Size: 614 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2026-07-07T11:05
Binary file not shown.

After

Width:  |  Height:  |  Size: 578 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2026-07-08T13:34
Binary file not shown.

After

Width:  |  Height:  |  Size: 668 KiB

+1
View File
@@ -0,0 +1 @@
taken: 2026-07-09T14:57
Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

-6
View File
@@ -1,6 +0,0 @@
description: Baltic coast, windy afternoon
alt: Grey sea under a low sky
location:
name: Hel
lat: 54.6078
lon: 18.8016
Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

-2
View File
@@ -1,2 +0,0 @@
description: Wide one, with the date set by hand instead of EXIF
taken: 2026-10-07T19:05
Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

-5
View File
@@ -1,5 +0,0 @@
description: |-
Old town, late evening.
Shot handheld from the bridge.
location:
name: Kraków
Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Loaded 100 of 103 files, more files were not shown because too many files have changed in this diff. Show more