Configures deployment to netlify

This commit is contained in:
Phil Scott
2022-02-14 14:01:19 -05:00
committed by Patrik Svensson
parent c2da268129
commit 3ac63d2670
5 changed files with 10 additions and 15 deletions

View File

@ -1,5 +1,6 @@
using Statiq.App;
using Statiq.Common;
using Statiq.Web;
namespace Docs.Extensions
{
@ -15,11 +16,5 @@ namespace Docs.Extensions
}
return bootstrapper;
}
public static Bootstrapper ConfigureDeployment(this Bootstrapper bootstrapper, string deployBranch)
{
bootstrapper?.AddSetting(Constants.Deployment.TargetBranch, deployBranch);
return bootstrapper;
}
}
}