Skip to content

Commit c98fe7f

Browse files
authored
Update deploy.yml
1 parent 98619da commit c98fe7f

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,53 @@ jobs:
1414
- run: pip install mkdocs-material
1515
- run: pip install mkdocs-open-in-new-tab
1616
- run: mkdocs gh-deploy --force
17+
- name: Cache
18+
uses: actions/[email protected]
19+
with:
20+
# A list of files, directories, and wildcard patterns to cache and restore
21+
path:
22+
# An explicit key for restoring and saving the cache
23+
key:
24+
# An ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.
25+
restore-keys: # optional
26+
# The chunk size used to split up large files during upload, in bytes
27+
upload-chunk-size: # optional
28+
# An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms
29+
enableCrossOsArchive: # optional, default is false
30+
# Fail the workflow if cache entry is not found
31+
fail-on-cache-miss: # optional, default is false
32+
# Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache
33+
lookup-only: # optional, default is false
34+
# Run the post step to save the cache even if another step before fails
35+
save-always: # optional, default is false
36+
- name: Setup Node.js environment
37+
uses: actions/[email protected]
38+
with:
39+
# Set always-auth in npmrc.
40+
always-auth: # optional, default is false
41+
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.
42+
node-version: # optional
43+
# File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.
44+
node-version-file: # optional
45+
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
46+
architecture: # optional
47+
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
48+
check-latest: # optional
49+
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.
50+
registry-url: # optional
51+
# Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
52+
scope: # optional
53+
# Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
54+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
55+
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.
56+
cache: # optional
57+
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.
58+
cache-dependency-path: # optional
59+
- name: Hyperlink link checker
60+
# You may pin to the exact commit or the version.
61+
# uses: untitaker/hyperlink@a98898238360d284c34eccf798680b70ba50b55b
62+
uses: untitaker/[email protected]
63+
with:
64+
# CLI arguments to hyperlink
65+
args:
66+

0 commit comments

Comments
 (0)