Skip to content

Commit

Permalink
Bump actions/cache from v1 to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Oct 22, 2021
1 parent 21c5254 commit 6eea37b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ For the first deployment, we have to do this operation: [First Deployment with `
[![peaceiris/actions-gh-pages - GitHub](https://gh-card.dev/repos/peaceiris/actions-gh-pages.svg?fullname)](https://github.com/peaceiris/actions-gh-pages)

```yaml
name: github pages
name: GitHub Pages

on:
push:
Expand Down Expand Up @@ -227,15 +227,15 @@ The alpine base Hugo Docker image is provided on the following repository.

Here is an example workflow for the [google/docsy] Hugo theme.
This theme needs `autoprefixer` and `postcss-cli` to build a project.
The following workflow is tested on [google/docsy-example].
The following workflow is tested with [google/docsy-example].

[google/docsy]: https://github.com/google/docsy
[google/docsy-example]: https://github.com/google/docsy-example

A workflow for the Hugo Babel pipeline is also the same as follows.

```yaml
name: github pages
name: GitHub Pages
on:
push:
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -292,7 +292,7 @@ jobs:
Here is an example workflow for a Hugo project using `asciidoctor`.

```yaml
name: github pages
name: GitHub Pages
on:
push:
Expand Down Expand Up @@ -345,7 +345,7 @@ jobs:
cf. [Gitinfo fails on unicode filename · Issue #3071 · gohugoio/hugo](https://github.com/gohugoio/hugo/issues/3071)

```yaml
name: github pages
name: GitHub Pages
on:
push:
Expand Down

0 comments on commit 6eea37b

Please sign in to comment.