diff --git a/.github/workflows/pages-deploy.yml b/.github/workflows/pages-deploy.yml index 2e02375..b3bab26 100644 --- a/.github/workflows/pages-deploy.yml +++ b/.github/workflows/pages-deploy.yml @@ -13,9 +13,6 @@ jobs: runs-on: ubuntu-latest - env: - GEMS_PATH: ~/vendor/bundle - steps: - name: Checkout uses: actions/checkout@v2 @@ -23,22 +20,10 @@ jobs: fetch-depth: 0 # for posts's lastmod - name: Setup Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 - - - name: Bundle Caching - uses: actions/cache@v2 - with: - path: ${{ env.GEMS_PATH }} - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - - - name: Bundle Install - run: | - bundle config path ${{ env.GEMS_PATH }} - bundle install --jobs 4 --retry 3 + bundler-cache: true - name: Check baseurl run: | diff --git a/.gitignore b/.gitignore index de35908..05db64a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,10 @@ .* !.github -# jekyll cache +# bundler cache _site vendor +Gemfile.lock # rubygem *.gem diff --git a/README.md b/README.md index 28f494c..866b617 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ $tab-count: {{ site.tabs | size | plus: 1 }}; ### Publishing to GitHub Pages -See the `jekyll-theme-chirpy`'s [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment). Note that in order to use GitHub Actions caching to speed up the deployment, you should add the `Gemfile.lock` file to your repository. +See the [deployment instructions](https://github.com/cotes2020/jekyll-theme-chirpy#deployment) of `jekyll-theme-chirpy`. ### Updating