rough add withdeploy

This commit is contained in:
Arnaud Levy 2024-11-05 08:15:12 +01:00
parent 3b443076f0
commit 153e0fe512
6 changed files with 40 additions and 5 deletions

View file

@ -123,10 +123,23 @@ Set `extended: true` to use a Hugo extended version.
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
hugo-version: '0.137.0'
extended: true
```
### ⭐️ Use Hugo withdeploy
Set `withdeploy: true` to use a Hugo with deploy feature.
Since [v0.137.0](https://github.com/gohugoio/hugo/releases/tag/v0.137.0), the deploy feature is not in the default archive anymore.
```yaml
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.137.0'
withdeploy: true
```
### ⭐️ Use the latest version of Hugo
Set `hugo-version: 'latest'` to use the latest version of Hugo.