From 1ec2e69b89fca050e2d7970b571d5efcecc4df6e Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 16:20:34 +0100 Subject: [PATCH 1/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index c1cf23b..d35cfab 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02 \ No newline at end of file +2024-03-02#1 \ No newline at end of file From 0f9021e1ec2121ef84e391cfa2633b14826c89d1 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 16:24:06 +0100 Subject: [PATCH 2/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index d35cfab..2f324ed 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02#1 \ No newline at end of file +2024-03-02#2 \ No newline at end of file From 8ff5ec2b16d77bced4796bef199c4341f6e2af78 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 16:34:48 +0100 Subject: [PATCH 3/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index 2f324ed..70c9225 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02#2 \ No newline at end of file +2024-03-02#3 \ No newline at end of file From 5a9ae71b4e255356c490a2dd7db5f09537a44c1c Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 16:48:59 +0100 Subject: [PATCH 4/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index 70c9225..1f0e798 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02#3 \ No newline at end of file +2024-03-02#4 \ No newline at end of file From 2cf2407c3a4038b246d4f4305b4fd73a081624b5 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 16:54:38 +0100 Subject: [PATCH 5/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index 1f0e798..56d2644 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02#4 \ No newline at end of file +2024-03-02#5 \ No newline at end of file From c9ac1a12993ed9143455f8a5736f082aeea2bdc0 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 17:00:38 +0100 Subject: [PATCH 6/8] Update public/version --- public/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/version b/public/version index 56d2644..32bdd3a 100644 --- a/public/version +++ b/public/version @@ -1 +1 @@ -2024-03-02#5 \ No newline at end of file +2024-03-02#6 \ No newline at end of file From bfb4a228198c7c3987116d912d19fac6283d1090 Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 17:16:46 +0100 Subject: [PATCH 7/8] Add immutable paths to site.toml --- public/site.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/public/site.toml b/public/site.toml index 03e363f..fbc52ee 100644 --- a/public/site.toml +++ b/public/site.toml @@ -1,4 +1,5 @@ paths_mode = "spa" +immutable_paths = ["/assets/*"] [[redirects]] kind = "temporary" From fc5fd2303865cec0b8e7ea05856121f2ca8aab1a Mon Sep 17 00:00:00 2001 From: moritzruth Date: Sun, 2 Mar 2025 18:07:29 +0100 Subject: [PATCH 8/8] Read repository name from variable in deployment workflow --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 0ed1b41..ff7d165 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -42,4 +42,4 @@ jobs: --fail -H "Content-Type: application/json" -H "Authorization: Bearer ${{ secrets.SSCDC_SECRET }}" - -d '{ "id": "${{ github.sha }}", "download_url": "https://git.moritzruth.de/moritzruth/moritzruth.de/actions/runs/${{ github.run_number }}/artifacts/site.zip" }' \ No newline at end of file + -d '{ "id": "${{ github.sha }}", "download_url": "https://git.moritzruth.de/${{ github.repository }}/actions/runs/${{ github.run_number }}/artifacts/site.zip" }' \ No newline at end of file