From ad901c8ed3c8327c90f3977d3ce78fafb2c19cc4 Mon Sep 17 00:00:00 2001
From: Rodrigo Alcaraz de la Osa <rodri.alcaraz@gmail.com>
Date: Sun, 23 Apr 2023 11:41:05 +0200
Subject: [PATCH] Add Hugo resources example

---
 README.md   |  1 +
 examples.md | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/README.md b/README.md
index 7f27d6c..3f4dee5 100644
--- a/README.md
+++ b/README.md
@@ -161,6 +161,7 @@ See [Examples](examples.md) for a list of `actions/cache` implementations for us
 * [Go - Modules](./examples.md#go---modules)
 * [Haskell - Cabal](./examples.md#haskell---cabal)
 * [Haskell - Stack](./examples.md#haskell---stack)
+* [Hugo - Resources](./examples.md#hugo---resources)
 * [Java - Gradle](./examples.md#java---gradle)
 * [Java - Maven](./examples.md#java---maven)
 * [Node - npm](./examples.md#node---npm)
diff --git a/examples.md b/examples.md
index 1bcde91..e0a925b 100644
--- a/examples.md
+++ b/examples.md
@@ -17,6 +17,7 @@
   - [Windows](#windows-2)
 - [Haskell - Cabal](#haskell---cabal)
 - [Haskell - Stack](#haskell---stack)
+- [Hugo - Resources](#hugo---resources)
 - [Java - Gradle](#java---gradle)
 - [Java - Maven](#java---maven)
 - [Node - npm](#node---npm)
@@ -279,6 +280,15 @@ We cache the elements of the Cabal store separately, as the entirety of `~/.caba
       ${{ runner.os }}-stack-work-
 ```
 
+## Hugo - Resources
+
+```yaml
+- uses: actions/cache@v3
+  with:
+    path: resources
+    key: ${{ runner.os }}-hugo-resources
+```
+
 ## Java - Gradle
 
 > **Note** Ensure no Gradle daemons are running anymore when your workflow completes. Creating the cache package might fail due to locks being held by Gradle. Refer to the [Gradle Daemon documentation](https://docs.gradle.org/current/userguide/gradle_daemon.html) on how to disable or stop the Gradle Daemons.