Improve note on use of `actions/cache` [skip ci]

This commit is contained in:
Ashwin Maroli 2022-01-28 15:06:02 +05:30 committed by GitHub
parent 5dcfc22cba
commit a3290166dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ The above workflow can be explained as the following:
the Action from overwriting the `gh-pages` branch on any feature branch pushes. the Action from overwriting the `gh-pages` branch on any feature branch pushes.
- The **name** of the job matches our YAML filename: `github-pages`. - The **name** of the job matches our YAML filename: `github-pages`.
- The **checkout** action takes care of cloning your repository. - The **checkout** action takes care of cloning your repository.
- The **cache** action is an optimisation for shorten the build times. - The **cache** action is an optimization to avoid fetching and installing gems on every build.
- We specify our selected **action** and **version number** using `helaili/jekyll-action@2.0.5`. - We specify our selected **action** and **version number** using `helaili/jekyll-action@2.0.5`.
This handles the build and deploy. This handles the build and deploy.
- We set a reference to a secret **environment variable** for the action to use. The `GITHUB_TOKEN` - We set a reference to a secret **environment variable** for the action to use. The `GITHUB_TOKEN`