Skip to content

Commit

Permalink
updating publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jon committed Jul 3, 2024
1 parent 4a5d875 commit 9306670
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 9306670

Please sign in to comment.