mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00
21 lines
584 B
C#
21 lines
584 B
C#
using Statiq.Common;
|
|
using Statiq.Web.GitHub;
|
|
using Statiq.Web.Netlify;
|
|
|
|
namespace Docs.Pipelines
|
|
{
|
|
public class DeploymentPipeline : Statiq.Core.Pipeline
|
|
{
|
|
public DeploymentPipeline()
|
|
{
|
|
Deployment = true;
|
|
OutputModules = new ModuleList
|
|
{
|
|
new DeployNetlifySite(
|
|
siteId: Config.FromSetting<string>(Constants.Deployment.NetlifySiteId),
|
|
accessToken: Config.FromSetting<string>(Constants.Deployment.NetlifyAccessToken)
|
|
)
|
|
};
|
|
}
|
|
}
|
|
} |