diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f516cb4..bd6f3657 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,7 +73,7 @@ jobs: - name: Check if docs need to be deployed id: needs_deploying run: | - if [[ $(git diff HEAD^ -- ./docs ./website) ]]; then + if [[ $(git diff ${{ github.ref }}^ -- ./docs ./website) ]]; then needs_deploying=true else needs_deploying=false