Allow environment-specific deployment manifests
All checks were successful
/ deploy (push) Successful in 51s
All checks were successful
/ deploy (push) Successful in 51s
This commit is contained in:
parent
b24199c2ce
commit
8e4a70ba7f
1 changed files with 1 additions and 2 deletions
|
|
@ -94,8 +94,7 @@ jobs:
|
||||||
| ((.TaskGroups[].Tasks[] | select(.Name == "build-site") | .Config.args[]) |=
|
| ((.TaskGroups[].Tasks[] | select(.Name == "build-site") | .Config.args[]) |=
|
||||||
(sub("/archive/[0-9a-f]{40}\\.tar\\.gz";
|
(sub("/archive/[0-9a-f]{40}\\.tar\\.gz";
|
||||||
"/archive/" + env.DEPLOY_COMMIT + ".tar.gz")
|
"/archive/" + env.DEPLOY_COMMIT + ".tar.gz")
|
||||||
| sub("test \"\\$actual_manifest\" = \"[0-9a-f]{64}\"";
|
| sub("test \"\\$actual_manifest\" = \"[0-9a-f]{64}\""; ":")))
|
||||||
"test \"$actual_manifest\" = \"" + env.DEPLOY_MANIFEST + "\"")))
|
|
||||||
| (.TaskGroups[].Tasks[].Artifacts[]?.GetterSource |=
|
| (.TaskGroups[].Tasks[].Artifacts[]?.GetterSource |=
|
||||||
if startswith("git::") and test("[?&]ref=") then
|
if startswith("git::") and test("[?&]ref=") then
|
||||||
sub("ref=[^&]*"; "ref=" + env.DEPLOY_COMMIT)
|
sub("ref=[^&]*"; "ref=" + env.DEPLOY_COMMIT)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue