From 9306670957132d9689546945c49958e4f7f21240 Mon Sep 17 00:00:00 2001 From: jon Date: Tue, 2 Jul 2024 21:11:47 -0400 Subject: [PATCH] updating publish workflow --- .github/workflows/publish-to-gh-pages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-to-gh-pages.yml b/.github/workflows/publish-to-gh-pages.yml index b783d684..7caf3222 100644 --- a/.github/workflows/publish-to-gh-pages.yml +++ b/.github/workflows/publish-to-gh-pages.yml @@ -32,16 +32,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Ruby - uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 + uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0 with: - ruby-version: '2.5' # Not needed with a .ruby-version file + ruby-version: '3.1' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically cache-version: 0 # Increment this number if you need to re-download cached gems - name: Setup Pages id: pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Build with Jekyll # Outputs to the './_site' directory by default # Clarify the right site url for each branch using config chain includes @@ -53,13 +53,13 @@ jobs: run: echo "ghpages.level-up.cc" > ./_site/CNAME - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v4 + uses: actions/upload-pages-artifact@v3 # Deployment in same repo / gh-pages job deploy: environment: name: github-pages - url: level-up.cc + url: ghpages.level-up.cc runs-on: ubuntu-latest needs: build steps: