Skip to content

Commit

Permalink
.github/workflows: Fix cache
Browse files Browse the repository at this point in the history
This is an attempt at making the plugin cache work like it should.

Signed-off-by: Dylan Reimerink <[email protected]>
  • Loading branch information
dylandreimerink committed Dec 29, 2024
1 parent 1ed0eb8 commit cbde665
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
uses: actions/cache@v4
with:
path: .cache
key: cache-plugins-${{ github.run_id }}
restore-keys: |
cache-plugins-
key: cache-plugins
- name: Apply deploy config
run: |
echo "" >> mkdocs.yml
Expand All @@ -47,9 +45,17 @@ jobs:
echo " analytics:" >> mkdocs.yml
echo " provider: google" >> mkdocs.yml
echo " property: G-KVJ1CK539N" >> mkdocs.yml
- name: Debug pre Build
run: |
ls -laR .cache
cat .cache/plugin/git-committers/page-authors.json
- name: Build html
run: |
make html PROD=true GH_TOKEN=${{ secrets.GITHUB_TOKEN }}
- name: Debug post Build
run: |
ls -laR .cache
cat .cache/plugin/git-committers/page-authors.json
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
Expand Down

0 comments on commit cbde665

Please sign in to comment.