diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 5be211a..a2220cc 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -2,6 +2,7 @@ name: Jekyll site CI on: push: + branches: [ main, master ] pull_request: branches: [ main, master ] workflow_dispatch: @@ -13,7 +14,7 @@ permissions: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@v3 @@ -21,9 +22,9 @@ jobs: ref: ${{ github.event.inputs.branch }} - name: Setup Ruby - uses: ruby/setup-ruby@v1.127.0 + uses: ruby/setup-ruby@v1.196.0 with: - ruby-version: '3.1' + ruby-version: '3.3' bundler-cache: true cache-version: 0 @@ -41,7 +42,7 @@ jobs: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: PAGES_REPO_NWO: ${{ github.repository }} - JEKYLL_ENV: ${{ steps.name.outputs.jekyll_env }} + JEKYLL_ENV: production JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JEKYLL_BUILD_BRANCH: ${{ github.ref_name }} JEKYLL_BASE_PATH: ${{ steps.pages.outputs.base_path }}