diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index e8294d0..2d7d328 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -18,7 +18,7 @@ permissions: # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" - cancel-in-progress: false + cancel-in-progress: true jobs: # Build job @@ -32,21 +32,21 @@ jobs: with: ruby-version: '3.1' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 1 # Increment this number if you need to re-download cached gems + cache-version: 2 # Increment this number if you need to re-download cached gems - name: Setup Pages id: pages uses: actions/configure-pages@v5 - - name: Build with Jekyll - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production #- name: Build with Jekyll - # uses: actions/jekyll-build-pages@v1 - # with: - # source: ./ - # destination: ./_site + # run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" # env: # JEKYLL_ENV: production + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + env: + JEKYLL_ENV: production - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v3