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)