Skip to content

Commit

Permalink
Merge pull request #3 from actions-mn/feature/rename-install-fonts-cl…
Browse files Browse the repository at this point in the history
…i-arg

feat: update action according metanorma's CLI flags rename
  • Loading branch information
CAMOBAP authored May 25, 2024
2 parents d672132 + d73b8ae commit 4102e71
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 4102e71

Please sign in to comment.