Skip to content

Commit 928ebf2

Browse files
committed
Add github actions cache
1 parent 24f977f commit 928ebf2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build_deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ jobs:
5555
- name: Install Node.js dependencies
5656
run: "npm install --legacy-peer-deps"
5757

58+
- name: Fetch resources directory from cache
59+
uses: actions/cache@v3
60+
with:
61+
path: resources
62+
key: ${{ runner.os }}-hugo-resources-directory-${{ github.run_id }}
63+
restore-keys: |
64+
${{ runner.os }}-hugo-resources-directory
65+
5866
- name: Build site
5967
run: >
6068
ls -la /opt/dart-sass &&

config/_default/hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ summaryLength = 20
1515
# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456
1616
ignoreErrors = ["error-remote-getjson"]
1717

18-
timeout = "600s"
18+
timeout = "1200s"
1919

2020
languageCode = "de-DE"
2121
defaultContentLanguage = "de"

0 commit comments

Comments
 (0)