Skip to content

Commit

Permalink
ci: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Lord authored Feb 9, 2024
1 parent 5bc9e9b commit 8d6756d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@v1
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: 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@v4
- name: Setup IndexNow
run: echo ${{ secrets.INDEXNOW_KEY }} > IndexNow-${{ secrets.INDEXNOW_KEY }}.txt
- name: Build with Jekyll
Expand All @@ -47,7 +47,7 @@ jobs:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
Expand All @@ -59,7 +59,7 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

# Push to IndexNow
indexnow:
Expand All @@ -68,7 +68,7 @@ jobs:
needs: deploy
steps:
- name: IndexNow Action
uses: bojieyang/indexnow-action@v1
uses: bojieyang/indexnow-action@v2
with:
sitemap-location: "https://young-lord.github.io/sitemap.xml"
key: ${{ secrets.INDEXNOW_KEY }}
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
_posts/*.md
# use all_changed_files
- name: Save Page
if: steps.changed-posts.outputs.all_changed_files != ''
if: steps.changed-posts.outputs.all_changed_files != '[]'
run: python .github/workflows/save_page.py
env:
all_changed_files: ${{ steps.changed-posts.outputs.all_changed_files }}
Expand Down

0 comments on commit 8d6756d

Please sign in to comment.