fix: Changed process.env for core.getInput

This commit is contained in:
Laegel
2021-03-20 11:50:41 +01:00
parent a9ae56b113
commit 87b50c07b1

View File

@@ -7,7 +7,7 @@ const { default: generate } = require("../src/plugin");
// Where your docs live, should be the folder containing the crates docs
const originPath = core.getInput("originPath"); // e.g. "/path/to/project/src/";
const sidebarFile = process.env["sidebarFile"];
const sidebarFile = core.getInput("sidebarFile");
// Where you'll save your MD files
const targetPath = core.getInput("targetPath"); // e.g. "/path/to/docusaurus/website/docs/api/js/";
const docusaurusPath = core.getInput("docusaurusPath");