diff --git a/.actrc b/.actrc new file mode 100644 index 0000000..bdaac5b --- /dev/null +++ b/.actrc @@ -0,0 +1,3 @@ +-P catthehacker/ubuntu:act-latest + + diff --git a/.github/workflows/tsDoc.yml b/.github/workflows/tsDoc.yml index 1771ae0..5e5d2b3 100644 --- a/.github/workflows/tsDoc.yml +++ b/.github/workflows/tsDoc.yml @@ -3,7 +3,6 @@ name: TSDoc Actions on: release: - branches: [ "master" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -28,7 +27,7 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - + - name: Setup Node uses: actions/setup-node@v3 with: @@ -42,7 +41,6 @@ jobs: output_dir: ./docs front_page: README.md recurse: true - excludeExternals: true - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/src/index.js b/src/index.js index 2f6d716..4f659a3 100644 --- a/src/index.js +++ b/src/index.js @@ -41,7 +41,7 @@ async function run () { const gitRemote = core.getInput('gitRemote') const disableGit = core.getInput('disableGit') const readme = core.getInput('readme') - const stripYamlFrontmatter = core.getBooleanInput('stripYamlFrontmatter') + const stripYamlFrontmatter = core.getInput('stripYamlFrontmatter') if (source_dir) { try { @@ -63,8 +63,8 @@ async function run () { } } - if (template) { - templateName = await installer.installTemplate(template) + if (theme) { + templateName = await installer.installTemplate(theme) } const typedocPath = path.join(__dirname, '../node_modules/typedoc/bin/typedoc') @@ -87,7 +87,7 @@ async function run () { args.push('--theme', template) } if (template_dir) { - args.push('--template_dir', path.join(GITHUB_WORKSPACE, '../node_modules/', templateName, template_dir)); + args.push('--template_dir', path.join(GITHUB_WORKSPACE, '../node_modules/', templateName, template_dir)) } if (front_page) { const readmePath = path.join(GITHUB_WORKSPACE, front_page)