Skip to content

proposal: hugo >0.137.0: offer possibility to use 'withdeploy' release #658

@deining

Description

@deining

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

As of hugo version 0.137.0, the deploy subcommand is not part of hugo's extended version any more.
If you still want to make use of hugo deploy feature, you have to download and install a release with withdeploy in the archive filename. See gohugoio/hugo#12995 for further details.

Describe the solution you'd like

As far as I can see, currently it is not possible to make use of the withdeploy version inside of a workflow definition.
Therefore I would like to propose to introduce a new boolean option withdeploy that allows to make use of the hugo version that includes the deploy feature:

      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v3
        with:
          hugo-version: '0.119.0'
          extended: true
          withdeploy: true  # <-- request to add this new option

Describe alternatives you've considered

None

Additional context

None

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions