@@ -46,7 +46,7 @@ contents:
46
46
- uses: actions/cache@v4
47
47
with:
48
48
key: mkdocs-material-${{ env.cache_id }}
49
- path: .cache # (4)!
49
+ path: ~/ .cache # (4)!
50
50
restore-keys: |
51
51
mkdocs-material-
52
52
- run: pip install mkdocs-material # (5)!
@@ -68,7 +68,7 @@ contents:
68
68
You can read the [manual page] to learn more about the formatting options of the `date` command.
69
69
70
70
4. Some Material for MkDocs plugins use [caching] to speed up repeated
71
- builds, and store the results in the `.cache` directory.
71
+ builds, and store the results in the `~/ .cache` directory.
72
72
73
73
5. This is the place to install further [MkDocs plugins] or Markdown
74
74
extensions with `pip` to be used during the build:
@@ -108,7 +108,7 @@ contents:
108
108
- uses: actions/cache@v4
109
109
with:
110
110
key: mkdocs-material-${{ env.cache_id }}
111
- path: .cache # (1)!
111
+ path: ~/ .cache # (1)!
112
112
restore-keys: |
113
113
mkdocs-material-
114
114
- run: apt-get install pngquant # (2)!
@@ -119,7 +119,7 @@ contents:
119
119
```
120
120
121
121
1. Some Material for MkDocs plugins use [caching] to speed up repeated
122
- builds, and store the results in the `.cache` directory.
122
+ builds, and store the results in the `~/ .cache` directory.
123
123
124
124
2. This step is only necessary if you want to use the
125
125
[built-in optimize plugin] to automatically compress images.
@@ -187,17 +187,16 @@ contents:
187
187
cache:
188
188
key: ${CI_COMMIT_REF_SLUG}
189
189
paths:
190
- - .cache/ # (1)!
190
+ - ~/ .cache/ # (1)!
191
191
artifacts:
192
192
paths:
193
193
- public
194
194
rules:
195
195
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
196
-
197
196
```
198
197
199
198
1. Some Material for MkDocs plugins use [caching] to speed up repeated
200
- builds, and store the results in the `.cache` directory.
199
+ builds, and store the results in the `~/ .cache` directory.
201
200
202
201
=== "Insiders"
203
202
@@ -211,7 +210,7 @@ contents:
211
210
cache:
212
211
key: ${CI_COMMIT_REF_SLUG}
213
212
paths:
214
- - .cache/ # (2)!
213
+ - ~/ .cache/ # (2)!
215
214
artifacts:
216
215
paths:
217
216
- public
@@ -224,7 +223,7 @@ contents:
224
223
using [masked custom variables].
225
224
226
225
2. Some Material for MkDocs plugins use [caching] to speed up repeated
227
- builds, and store the results in the `.cache` directory.
226
+ builds, and store the results in the `~/ .cache` directory.
228
227
229
228
Now, when a new commit is pushed to the [ default branch] (typically ` master ` or
230
229
` main ` ), the static site is automatically built and deployed. Commit and push
0 commit comments