mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Fix gh-actions cache not being hit issue (#191)
This commit is contained in:
6
.github/workflows/pages-deploy.yml.hook
vendored
6
.github/workflows/pages-deploy.yml.hook
vendored
@@ -25,13 +25,13 @@ jobs:
|
||||
- name: Setup Ruby
|
||||
uses: actions/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6.x
|
||||
ruby-version: 2.7
|
||||
|
||||
- name: Bundle Caching
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ env.GEMS_PATH }}
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gems-
|
||||
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
else
|
||||
bash tools/test.sh
|
||||
fi
|
||||
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
bash tools/deploy.sh
|
||||
|
||||
Reference in New Issue
Block a user