docs: Add Non-ascii Filename section (#499)
This commit is contained in:
parent
e77b89094b
commit
0590f912fc
1 changed files with 46 additions and 0 deletions
46
README.md
46
README.md
|
@ -48,6 +48,7 @@ Thanks to this change, we can complete this action in less than a few seconds.
|
||||||
- [⭐️ Read Hugo version from file](#%EF%B8%8F-read-hugo-version-from-file)
|
- [⭐️ Read Hugo version from file](#%EF%B8%8F-read-hugo-version-from-file)
|
||||||
- [⭐️ Workflow for autoprefixer and postcss-cli](#%EF%B8%8F-workflow-for-autoprefixer-and-postcss-cli)
|
- [⭐️ Workflow for autoprefixer and postcss-cli](#%EF%B8%8F-workflow-for-autoprefixer-and-postcss-cli)
|
||||||
- [⭐️ Workflow for asciidoctor](#%EF%B8%8F-workflow-for-asciidoctor)
|
- [⭐️ Workflow for asciidoctor](#%EF%B8%8F-workflow-for-asciidoctor)
|
||||||
|
- [⭐️ Non-ascii Filename](#%EF%B8%8F-non-ascii-filename)
|
||||||
- [CHANGELOG](#changelog)
|
- [CHANGELOG](#changelog)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
- [About Maintainer](#about-maintainer)
|
- [About Maintainer](#about-maintainer)
|
||||||
|
@ -159,6 +160,10 @@ Note that the cache dir location of Hugo on a Linux-based operating system is `/
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<div align="right">
|
||||||
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
### ⭐️ Read Hugo version from file
|
### ⭐️ Read Hugo version from file
|
||||||
|
|
||||||
How to sync a Hugo version between a Docker Compose and a GitHub Actions workflow via `.env` file.
|
How to sync a Hugo version between a Docker Compose and a GitHub Actions workflow via `.env` file.
|
||||||
|
@ -210,6 +215,10 @@ The alpine base Hugo Docker image is provided on the following repository.
|
||||||
|
|
||||||
> [peaceiris/hugo-extended-docker: Hugo alpine base Docker image (Hugo extended and Hugo Modules)](https://github.com/peaceiris/hugo-extended-docker)
|
> [peaceiris/hugo-extended-docker: Hugo alpine base Docker image (Hugo extended and Hugo Modules)](https://github.com/peaceiris/hugo-extended-docker)
|
||||||
|
|
||||||
|
<div align="right">
|
||||||
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
### ⭐️ Workflow for autoprefixer and postcss-cli
|
### ⭐️ Workflow for autoprefixer and postcss-cli
|
||||||
|
|
||||||
Here is an example workflow for the [google/docsy] Hugo theme.
|
Here is an example workflow for the [google/docsy] Hugo theme.
|
||||||
|
@ -266,6 +275,10 @@ jobs:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<div align="right">
|
||||||
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
### ⭐️ Workflow for asciidoctor
|
### ⭐️ Workflow for asciidoctor
|
||||||
|
|
||||||
Here is an example workflow for a Hugo project using `asciidoctor`.
|
Here is an example workflow for a Hugo project using `asciidoctor`.
|
||||||
|
@ -315,6 +328,39 @@ jobs:
|
||||||
<a href="#table-of-contents">Back to TOC ☝️</a>
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
### ⭐️ Non-ascii Filename
|
||||||
|
|
||||||
|
cf. [Gitinfo fails on unicode filename · Issue #3071 · gohugoio/hugo](https://github.com/gohugoio/hugo/issues/3071)
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: github pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Disable quotePath
|
||||||
|
run: git config core.quotePath false
|
||||||
|
|
||||||
|
- name: Setup Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v2
|
||||||
|
with:
|
||||||
|
hugo-version: '0.79.1'
|
||||||
|
```
|
||||||
|
|
||||||
|
<div align="right">
|
||||||
|
<a href="#table-of-contents">Back to TOC ☝️</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
|
Loading…
Reference in a new issue