chore: use github.ref
(#8618)
This commit is contained in:
parent
59c8027041
commit
6b2b421b7d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user