Skip to content

Commit a9f0cc8

Browse files
authored
fix doc notification (#7219)
1 parent 6b8e0c1 commit a9f0cc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-staging.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,9 @@ jobs:
134134
https://api.github.com/repos/firebase/firebase-js-sdk/dispatches
135135
- name: Check for changes requiring a reference doc publish
136136
id: docs-check
137-
run: git diff --exit-code origin/master HEAD docs-devsite
137+
run: |
138+
LAST_PUBLISHED_VERSION=$(npm info firebase version)
139+
git diff --exit-code firebase@$LAST_PUBLISHED_VERSION HEAD docs-devsite
138140
- name: No diff, docs not needed
139141
if: ${{ success() }}
140142
run: echo "DOCS_NEEDED=false" >> $GITHUB_STATE

0 commit comments

Comments
 (0)