Skip to content

Commit 4e73f83

Browse files
chore: add caching for building gh-pages faster
1 parent 26b76f3 commit 4e73f83

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ jobs:
1010
gh-pages-projection:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Initialize Chef Habitat artifacts cache directory
14+
run: |
15+
sudo mkdir -p /hab/cache/artifacts
16+
sudo chown runner:docker -R /hab
17+
- name: Cache Chef Habitat artifacts
18+
uses: actions/cache@v1
19+
with:
20+
path: /hab/cache/artifacts
21+
key: hab-cache-artifacts
1322
- name: 'Update holobranch: gh-pages'
1423
uses: JarvusInnovations/hologit@actions/projector/v1
1524
env:

0 commit comments

Comments
 (0)