From d73b8ae570bbf2ac8b69dfc3dd32dc70c7ca6d5f Mon Sep 17 00:00:00 2001 From: Alex Babrykovich Date: Fri, 24 May 2024 15:51:06 +0200 Subject: [PATCH] feat: update action according metanorma's CLI flags rename --- action.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/action.yml b/action.yml index 86fd7bd..572c627 100644 --- a/action.yml +++ b/action.yml @@ -6,18 +6,18 @@ inputs: (manifest) file is default: '.' output-dir: - description: Output directory for generated site + description: Output directory for the generated site default: _site config-file: - description: 'Metanorma configuration (mainfest) file' + description: 'Metanorma configuration (manifest) file' default: metanorma.yml agree-to-terms: description: 'Agree / Disagree with all third-party licensing terms presented (WARNING: do know what you are agreeing with!)' default: '' # false - no-install-fonts: - description: 'Skip the font installation process' - default: '' # false + install-fonts: + description: 'Install missing fonts' + default: 'false' continue-without-fonts: description: 'Continue processing even when fonts are missing' default: '' # false @@ -38,11 +38,11 @@ runs: - shell: bash run: | cd ${{ inputs.source-path }} - ${{ inputs.use-bundler == 'true' && 'bundle exec' || '' }} \ - metanorma site generate . \ - ${{ inputs.strict && '--strict' || '' }} \ - -o ${{ inputs.output-dir }} \ - -c ${{ inputs.config-file }} \ - ${{ inputs.agree-to-terms && '--' || '--no-' }}agree-to-terms \ - ${{ inputs.no-install-fonts && '--' || '--no-' }}no-install-fonts \ + ${{ inputs.use-bundler == 'true' && 'bundle exec' || '' }} \ + metanorma site generate . \ + ${{ inputs.strict && '--strict' || '' }} \ + -o ${{ inputs.output-dir }} \ + -c ${{ inputs.config-file }} \ + ${{ inputs.agree-to-terms && '--' || '--no-' }}agree-to-terms \ + ${{ inputs.install-fonts && '--' || '--no-' }}install-fonts \ ${{ inputs.continue-without-fonts && '--' || '--no-' }}continue-without-fonts