[terakoda.com] Moves www2 to the main site.
This commit is contained in:
@@ -38,9 +38,6 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
# [ ] Make sure the hook can operate on that directory
|
||||
# [ ] Run the build command
|
||||
|
||||
sops.secrets = {
|
||||
"deploy-key/terakoda.com" = {
|
||||
restartUnits = [ "webhook.service" ];
|
||||
@@ -54,10 +51,10 @@ in
|
||||
port = 9000;
|
||||
openFirewall = true;
|
||||
hooks = {
|
||||
"deploy-www2-terakoda-com" = {
|
||||
id = "deploy-www2-terakoda-com";
|
||||
"deploy-terakoda-com" = {
|
||||
id = "deploy-terakoda-com";
|
||||
http-methods = [ "POST" ];
|
||||
command-working-directory = "/tank/web/www2.terakoda.com";
|
||||
command-working-directory = "/tank/web/terakoda.com";
|
||||
include-command-output-in-response-on-error = true;
|
||||
execute-command = "${testHook}/bin/deploy-astro-app";
|
||||
trigger-rule-mismatch-http-response-code = 400;
|
||||
|
||||
Reference in New Issue
Block a user