From 8e4a70ba7f5ef787039dbf39e6ef5f34b9da248a Mon Sep 17 00:00:00 2001 From: Loyyd Date: Sun, 12 Jul 2026 17:51:56 +0200 Subject: [PATCH] Allow environment-specific deployment manifests --- .forgejo/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index ac3aa323..42db9bae 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -94,8 +94,7 @@ jobs: | ((.TaskGroups[].Tasks[] | select(.Name == "build-site") | .Config.args[]) |= (sub("/archive/[0-9a-f]{40}\\.tar\\.gz"; "/archive/" + env.DEPLOY_COMMIT + ".tar.gz") - | sub("test \"\\$actual_manifest\" = \"[0-9a-f]{64}\""; - "test \"$actual_manifest\" = \"" + env.DEPLOY_MANIFEST + "\""))) + | sub("test \"\\$actual_manifest\" = \"[0-9a-f]{64}\""; ":"))) | (.TaskGroups[].Tasks[].Artifacts[]?.GetterSource |= if startswith("git::") and test("[?&]ref=") then sub("ref=[^&]*"; "ref=" + env.DEPLOY_COMMIT)