Skip to content

Commit

Permalink
Update jekyll-gh-pages.yml
Browse files Browse the repository at this point in the history
1. Added line to skip publishing pages when the Github actions bot pushes a new item to the repo, avoiding republishing in the short time that leads to a short time.
  • Loading branch information
kenlhlui authored Feb 7, 2025
1 parent 1b559a5 commit 46b3faf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ concurrency:
cancel-in-progress: false

jobs:
# Skip job if the push is made by github-actions[bot]
if: ${{ github.actor != 'github-actions[bot]' }}
# Build job
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 46b3faf

Please sign in to comment.