From 46b3faf783683ce6b1c93b97e9682c2389d0a95e Mon Sep 17 00:00:00 2001 From: Ken Lui <116421546+kenlhlui@users.noreply.github.com> Date: Thu, 6 Feb 2025 19:03:34 -0500 Subject: [PATCH] Update jekyll-gh-pages.yml 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. --- .github/workflows/jekyll-gh-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index e31d81c..f87a2a5 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -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